Package: riskscores 1.2.3
riskscores: Optimized Integer Risk Score Models
Implements an optimized approach to learning risk score models, where sparsity and integer constraints are integrated into the model-fitting process.
Authors:
riskscores_1.2.3.tar.gz
riskscores_1.2.3.zip(r-4.7)riskscores_1.2.3.zip(r-4.6)riskscores_1.2.3.zip(r-4.5)
riskscores_1.2.3.tgz(r-4.6-any)riskscores_1.2.3.tgz(r-4.5-any)
riskscores_1.2.3.tar.gz(r-4.7-any)riskscores_1.2.3.tar.gz(r-4.6-any)
riskscores_1.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
riskscores/json (API)
| # Install 'riskscores' in R: |
| install.packages('riskscores', repos = c('https://hjeglinton.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/hjeglinton/riskscores/issues
- breastcancer - Breast tissue biopsy data
Last updated from:d8bfc127fc. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 132 | ||
| source / vignettes | OK | 308 | ||
| linux-release-x86_64 | OK | 129 | ||
| macos-release-arm64 | OK | 149 | ||
| macos-oldrel-arm64 | OK | 198 | ||
| windows-devel | OK | 105 | ||
| windows-release | OK | 90 | ||
| windows-oldrel | OK | 95 | ||
| wasm-release | OK | 108 |
Exports:%>%clip_exp_valscv_risk_modget_metricsget_riskget_scoreplot_accuracy.cv_risk_modplot_deviance.cv_risk_modrisk_modrisk_mod_random_startstratify_folds
Dependencies:clicodetoolscpp11dplyrfarverforeachgenericsggplot2gluegtableisobanditeratorslabelinglifecyclemagrittrpillarpkgconfigpROCR6RColorBrewerRcpprlangS7scalestibbletidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Breast tissue biopsy data | breastcancer |
| Clip Values | clip_exp_vals |
| Extract Model Coefficients | coef.risk_mod |
| Run Cross-Validation to Tune Lambda0 | cv_risk_mod |
| Get Model Metrics | get_metrics |
| Get Model Metrics for a Single Threshold | get_metrics_internal |
| Calculate Risk Probability from Score | get_risk |
| Calculate Score from Risk Probability | get_score |
| Plot Risk Score Cross-Validation Results | plot_accuracy.cv_risk_mod |
| Plot Risk Score Cross-Validation Results | plot_deviance.cv_risk_mod |
| Plot Risk Score Cross-Validation Results | plot.cv_risk_mod |
| Plot Risk Score Model Curve | plot.risk_mod |
| Predict Method for Risk Model Fits | predict.risk_mod |
| Randomly round the initialized coefficients before coordinate descent | randomized_rounding |
| Fit an Integer Risk Score Model | risk_mod |
| Run risk model with random start | risk_mod_random_start |
| Generate Stratified Fold IDs | stratify_folds |
| Summarize Risk Model Fit | summary.risk_mod |
