merge_results.vector_rsa_model: Merge results for vector RSA model

View source: R/vector_rsa_model.R

merge_results.vector_rsa_modelR Documentation

Merge results for vector RSA model

Description

Aggregates results (scores) and calls evaluate_model. Vector RSA typically doesn't involve folds in the same way as classifiers, so this mainly formats the output of train_model for the specific ROI/sphere.

Usage

## S3 method for class 'vector_rsa_model'
merge_results(obj, result_set, indices, id, ...)

Arguments

obj

The vector RSA model specification (contains nperm etc.).

result_set

A tibble from the processor. Expected to contain the output of 'train_model.vector_rsa_model' (the scores vector) likely within '$result[[1]]'.

indices

Voxel indices for the current ROI/searchlight sphere.

id

Identifier for the current ROI/searchlight center.

...

Additional arguments.

Value

A tibble row with the final performance metrics for the ROI/sphere.


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