Menu

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.baseline.pls.train_pls(dataset, datasetdir, outdir, fit_lat_dims=3, n_iter=10, random_state=None)[source]ΒΆ

Train the PLS model

Parameters

dataset : str

the dataset name: euaims or hbn.

datasetdir : str

the path to the dataset associated data.

outdir : str

the destination folder.

fit_lat_dims : int, default 3

the number of latent dimensions.

n_iter : int, default 10

the number of trained models.

random_state : list of int, default None

controls the shuffling applied to the data before applying the split. Pass a list of n_sampoles int for reproducible output across multiple function calls.

Follow us

© 2023, mmbench developers