Fit an MVPA model
fit_model.mvpa_model.Rd
This function fits a multivariate pattern analysis (MVPA) model to the given data.
Usage
# S3 method for mvpa_model
fit_model(obj, x, y, wts, param, classProbs, ...)
Arguments
- obj
An object derived from the
mvpa_model
class.- 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.