pyls.import_matlab_result¶
-
pyls.
import_matlab_result
(fname, datamat='datamat_lst')[source]¶ Imports fname PLS result from Matlab
- Parameters
fname (str) – Filepath to output mat file obtained from Matlab PLS toolbox. Should contain at least a result struct object.
datamat (str, optional) – Variable name of datamat (‘X’ array) provided to original PLS if it exists fname. By default the datamat is not stored in the PLS results structure, but if it is was saved in fname it can be loaded and cached in the returned results object. Default: ‘datamat_lst’
- Returns
results – Matlab results in a Python-friendly format
- Return type