Benchmark multi-model/multi-view models.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
-
mmbench.workflow.rsa.benchmark_rsa_exp(dataset, datasetdir, outdir)[source]¶ Compare the learned latent space of different models using Representational Similarity Analysis (RSA).
- Parameters
dataset : str
the dataset name: euaims or hbn.
datasetdir : str
the path to the dataset associated data.
outdir : str
the destination folder.
Notes
The samples are generated with the ‘bench-latent’ sub-command and are stored in the ‘outdir’ in a file named ‘latent_vecs_<dataset>.npz’.
The samples shape is (n_samples, n_subjects, latent_dim). All samples must have the same number of samples and subjects, but possibly different latent dimensions.
Follow us