fit_model.mvpa_model | R Documentation |
This function fits a multivariate pattern analysis (MVPA) model to the given data.
## S3 method for class 'mvpa_model'
fit_model(obj, x, y, wts, param, classProbs, ...)
obj |
An object derived from the |
x |
The training data matrix. |
y |
The response vector. |
wts |
Optional class weights (if the underlying model supports it). |
param |
The hyperparameters of the model. |
classProbs |
Logical; if TRUE, class probabilities should be computed (default is FALSE). |
... |
Additional arguments to be passed to the underlying model fitting function. |
A fitted model object with additional attributes "obsLevels" and "problemType".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.