You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
, and using the local copies rather than references to the originals throughout that function, but I'm not familiar enough with the rest of the codebase to say that with confidence.
Best wishes!
The text was updated successfully, but these errors were encountered:
I also found this issue. Unfortunately, the author team doesn't seem to have fixed it. Interestingly, if the matrix is z-score transformed beforehand, it seems that performing pls_regression() does not change the input matrix.
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
Best wishes!
The text was updated successfully, but these errors were encountered: