drcme.spca.spca_on_all_data¶
- drcme.spca.spca_on_all_data(data_for_spca, spca_params, max_iter=500, eps_conv=0.0015)[source]¶
Compute sPCA for multiple data sets with specified parameters
- Parameters
data_for_spca (dict) – Dictionary of feature vectors
spca_params (dict) – Dictionary of sPCA analysis parameters. Must have all the keys found in data_for_spca
max_iter (int, optional) – Maximum number of sPCA iterations (default 500)
eps_conv (float, optional) – Convergence criterion
- Returns
Dictionary of dictionaries each containing sPCA results with keys: “loadings”: sPC loadings (n_features by n_components array), “pev”: adjusted explained variance (n_components-length array), “transformed values”: sPC-transformed values (n_samples by n_components array)
- Return type
dict