evaluate_model.vector_rsa_model: Evaluate model performance for vector RSA

View source: R/vector_rsa_model.R

evaluate_model.vector_rsa_modelR Documentation

Evaluate model performance for vector RSA

Description

Computes the mean second-order similarity score and handles permutation testing.

Usage

evaluate_model.vector_rsa_model(
  object,
  predicted,
  observed,
  roi_data_for_perm = NULL,
  nperm = 0,
  save_distributions = FALSE,
  ...
)

Arguments

object

The vector RSA model specification.

predicted

Ignored (vector RSA doesn't predict in the typical sense).

observed

The computed second-order similarity scores (vector from train_model).

roi_data_for_perm

New parameter

nperm

Number of permutations from the model spec.

save_distributions

Logical, whether to save full permutation distributions.

...

Additional arguments.

Value

A list containing the mean RSA score ('rsa_score'), raw scores, and optional permutation results ('p_values', 'z_scores', 'permutation_distributions').


bbuchsbaum/rMVPA documentation built on June 10, 2025, 8:23 p.m.