MachineShop is a meta-package for statistical and machine learning with a unified interface for model fitting, prediction, performance assessment, and presentation of results. Support is provided for predictive modeling of numerical, categorical, and censored time-to-event outcomes and for resample (bootstrap, cross-validation, and split training-test sets) estimation of model performance. This vignette introduces the package interface with a survival data analysis example, followed by supported methods of variable specification; applications to other response variable types; available performance metrics, resampling techniques, and graphical and tabular summaries; and modeling strategies.
library(MachineShop) info <- modelinfo()
r length(info)
+ models from r length(unique(sapply(info, function(x) x$packages[1])))
R packages, including model specifications from the parsnip package.# Current release from CRAN install.packages("MachineShop") # Development version from GitHub # install.packages("devtools") devtools::install_github("brian-j-smith/MachineShop") # Development version with vignettes devtools::install_github("brian-j-smith/MachineShop", build_vignettes = TRUE)
Once installed, the following R commands will load the package and display its help system documentation. Online documentation and examples are available at the MachineShop website.
library(MachineShop) # Package help summary ?MachineShop # Vignette RShowDoc("UserGuide", package = "MachineShop")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.