Skip to contents

This function trains an RSA (representational similarity analysis) model using the specified method and distance calculation.

Usage

# S3 method for class 'rsa_model'
train_model(obj, train_dat, y, indices, ...)

Arguments

obj

An object of class rsa_model.

train_dat

The training data.

y

The response variable.

indices

The indices of the training data.

...

Additional arguments passed to the training method.

Value

The trained model.