Package: bnnSurvival 0.1.5
bnnSurvival: Bagged k-Nearest Neighbors Survival Prediction
Implements a bootstrap aggregated (bagged) version of the k-nearest neighbors survival probability prediction method (Lowsky et al. 2013). In addition to the bootstrapping of training samples, the features can be subsampled in each baselearner to break the correlation between them. The Rcpp package is used to speed up the computation.
Authors:
bnnSurvival_0.1.5.tar.gz
bnnSurvival_0.1.5.zip(r-4.7)bnnSurvival_0.1.5.zip(r-4.6)bnnSurvival_0.1.5.zip(r-4.5)
bnnSurvival_0.1.5.tgz(r-4.6-x86_64)bnnSurvival_0.1.5.tgz(r-4.6-arm64)bnnSurvival_0.1.5.tgz(r-4.5-x86_64)bnnSurvival_0.1.5.tgz(r-4.5-arm64)
bnnSurvival_0.1.5.tar.gz(r-4.7-arm64)bnnSurvival_0.1.5.tar.gz(r-4.7-x86_64)bnnSurvival_0.1.5.tar.gz(r-4.6-arm64)bnnSurvival_0.1.5.tar.gz(r-4.6-x86_64)
bnnSurvival_0.1.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
bnnSurvival/json (API)
| # Install 'bnnSurvival' in R: |
| install.packages('bnnSurvival', repos = c('https://mnwright.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mnwright/bnnsurvival/issues
Last updated from:694072bc55. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 174 | ||
| linux-devel-x86_64 | OK | 168 | ||
| source / vignettes | OK | 234 | ||
| linux-release-arm64 | OK | 186 | ||
| linux-release-x86_64 | OK | 171 | ||
| macos-release-arm64 | OK | 221 | ||
| macos-release-x86_64 | OK | 438 | ||
| macos-oldrel-arm64 | OK | 201 | ||
| macos-oldrel-x86_64 | OK | 294 | ||
| windows-devel | OK | 132 | ||
| windows-release | OK | 136 | ||
| windows-oldrel | OK | 122 | ||
| wasm-release | OK | 130 |
Exports:bnnSurvivalpredictpredictionsprintshowtimepoints
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercmprskcodetoolscolorspacecpp11data.tablediagramdigestdoParallelevaluatefarverfastmapfontawesomeforeachforeignFormulafsfuturefuture.applyggplot2glmnetglobalsgluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglatticelavalifecyclelistenvmagrittrMASSMatrixMatrixModelsmemoisemetsmimemultcompmvtnormnlmennetnumDerivparallellypecplotrixpolsplineprodlimprogressrPublishquantregR6rangerrappdirsRColorBrewerRcppRcppArmadilloRcppEigenriskRegressionrlangrmarkdownrmsrpartrstudioapiS7sandwichsassscalesshapeSparseMSQUAREMstringistringrsurvivalTH.datatimeregtinytexvctrsviridisLitewithrxfunyamlzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Bagged k-nearest neighbors survival prediction | bnnSurvival |
| Get optimal number of neighbors | get_best_k |
| Compute prediction for all samples. | predict,bnnSurvivalBaseLearner-method |
| Predict survival probabilities with bagged k-nearest neighbors survival prediction. | predict,bnnSurvivalEnsemble-method |
| Get Predictions | predictions |
| Get Predictions | predictions,bnnSurvivalResult-method |
| Function to extract survival probability predictions from bnnSurvivalEnsemble. Use with 'pec' package. | predictSurvProb.bnnSurvivalEnsemble |
| Generic print method for bnnSurvivalEnsemble | print,bnnSurvivalEnsemble-method |
| Generic print method for bnnSurvivalResult | print,bnnSurvivalResult-method |
| Generic show method for bnnSurvivalEnsemble | show,bnnSurvivalEnsemble-method |
| Generic show method for bnnSurvivalResult | show,bnnSurvivalResult-method |
| Get Timepoints | timepoints |
| Get timepoints | timepoints,bnnSurvivalResult-method |
