Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.3%) to scientific vocabulary
Repository
CPI: Conditional Predictive Impact
Basic Info
- Host: GitHub
- Owner: bips-hb
- Language: R
- Default Branch: master
- Homepage: https://bips-hb.github.io/cpi
- Size: 1.32 MB
Statistics
- Stars: 12
- Watchers: 3
- Forks: 6
- Open Issues: 6
- Releases: 0
Metadata Files
README.md
Conditional Predictive Impact
David S. Watson, Marvin N. Wright
Introduction
The conditional predictive impact (CPI) is a measure of conditional independence. It can be calculated using any supervised learning algorithm, loss function, and knockoff sampler. We provide statistical inference procedures for the CPI without parametric assumptions or sparsity constraints. The method works with continuous and categorical data.
Installation
To install the ranger R package from CRAN, just run
R
install.packages("cpi")
To install the development version from GitHub using devtools, run
R
devtools::install_github("bips-hb/cpi")
Examples
Calculate CPI for random forest on iris data with 5-fold cross validation: ```R library(mlr3) library(mlr3learners) library(cpi)
cpi(task = tsk("iris"), learner = lrn("classif.ranger", predict_type = "prob"), resampling = rsmp("cv", folds = 5), measure = "classif.logloss", test = "t") ```
References
- Watson D. S. & Wright, M. N. (2021). Testing conditional independence in supervised learning algorithms. Machine Learning. DOI: 10.1007/s10994-021-06030-6.
Owner
- Name: BIPS
- Login: bips-hb
- Kind: organization
- Location: Bremen, Germany
- Website: https://www.bips-institut.de
- Repositories: 38
- Profile: https://github.com/bips-hb
Leibniz Institute for Prevention Research and Epidemiology
GitHub Events
Total
- Issues event: 1
- Watch event: 2
- Delete event: 4
- Issue comment event: 1
- Push event: 13
- Pull request event: 12
- Create event: 3
Last Year
- Issues event: 1
- Watch event: 2
- Delete event: 4
- Issue comment event: 1
- Push event: 13
- Pull request event: 12
- Create event: 3
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Marvin Wright | g****b@w****e | 59 |
| David Watson | d****1@g****m | 12 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 4
- Total pull requests: 17
- Average time to close issues: about 16 hours
- Average time to close pull requests: 19 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 1.5
- Average comments per pull request: 0.18
- Merged pull requests: 14
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 5
- Average time to close issues: about 20 hours
- Average time to close pull requests: about 1 hour
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 0.5
- Average comments per pull request: 0.0
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mikoontz (3)
- be-marc (1)
Pull Request Authors
- mnwright (20)
- mikoontz (3)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 256 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: cpi
Conditional Predictive Impact
- Homepage: https://github.com/bips-hb/cpi
- Documentation: http://cran.r-project.org/web/packages/cpi/cpi.pdf
- License: GPL (≥ 3)
-
Latest release: 0.1.5
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- foreach * imports
- knockoff * imports
- lgr * imports
- mlr3 * imports
- BEST * suggests
- doParallel * suggests
- glmnet * suggests
- knitr * suggests
- mlr3learners * suggests
- ranger * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/check-r-package v1 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite