load_model | R Documentation |
Retrieves a model specification from the pre-defined set of MVPA models.
load_model(name)
name |
Character string specifying the model to load. Must be a pre-defined MVPA model name:
|
A list containing the model specification with the following components:
Model type: "Classification" or "Regression"
Required R package(s) for the model
Human-readable model name
Data frame describing tunable parameters
Function to generate parameter tuning grid
Function to fit the model
Function to generate predictions
Function to generate class probabilities (classification only)
MVPAModels
for the complete list of available custom MVPA models
mvpa_model
for using these models in MVPA analyses
# Load custom MVPA model
model <- load_model("sda_notune")
# Load correlation classifier with parameter tuning options
corr_model <- load_model("corclass")
print(corr_model$parameters) # View tunable parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.