-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
First, thank you so much for this repo! Trying to compare results between python and matlab has been an insane headache until I found this. :)
I noticed that every time I run pls_regression(), my X and Y input matrices both get altered. To prevent this, I am currently creating a sacrificial copy of each original matrix for use with pls_regression, and all's well. But I wanted to report that this surprised me. I would expect that my source data not be altered.
I assume this could be fixed by creating local copies of X and Y_agg prior to
pypyls/pyls/types/regression.py
Line 395 in d8a19d5
| X -= np.nanmean(X, axis=0, keepdims=True) |
Best wishes!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels