Open philjohnston opened 3 years ago
Hey @philjohnston I'm starting to get into this. Do you know where I can find the data referenced here?
patient_exps = np.loadtxt("patient_exps_mat.csv", delimiter=",")
control_exps = np.loadtxt("control_exps_mat.csv", delimiter=",")
Hey @philjohnston I'm starting to get into this. Do you know where I can find the data referenced here?
patient_exps = np.loadtxt("patient_exps_mat.csv", delimiter=",") control_exps = np.loadtxt("control_exps_mat.csv", delimiter=",")
Nvm I see them in the exp_mats.zip!
Ok nice, let me know if you need anything else!
From: Patrick Mahon @.> Sent: November 16, 2023 4:48 PM To: McIntosh-Lab/plspy @.> Cc: Phil Johnston @.>; Mention @.> Subject: Re: [McIntosh-Lab/plspy] Discrepancies between plsrri and MATLAB PLS results (#2)
Hey @philjohnstonhttps://github.com/philjohnston I'm starting to get into this. Do you know where I can find the data referenced here?
patient_exps = np.loadtxt("patient_exps_mat.csv", delimiter=",") control_exps = np.loadtxt("control_exps_mat.csv", delimiter=",")
Nvm I see them in the exp_mats.zip!
— Reply to this email directly, view it on GitHubhttps://github.com/McIntosh-Lab/plspy/issues/2#issuecomment-1815367728, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKIG77ROIDDX7QSJ4J767XDYE2C3NAVCNFSM4WZFVFR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBRGUZTMNZXGI4A. You are receiving this because you were mentioned.Message ID: @.***>
After running mean-centred PLS on the attached files, there are several discrepancies between the plsrri and MATLAB results:
Note that the singular values (S) are the same in both versions.
exp_mats.zip
Reproducing code example:
Python syntax:
Matlab syntax:
plsrri/Python version information:
plsrri: AttributeError: module 'plsrri' has no attribute 'version' ?
Python: 3.8.6 | packaged by conda-forge | (default, Dec 26 2020, 05:05:16) [GCC 9.3.0]