Re: [scikit-learn] inconsistency across version

2019-02-16 Thread Huan Tran
Thank you, Nicolas. Huan On Fri, Feb 15, 2019 at 7:52 PM Huan Tran wrote: > Dear community, > > I did a very small pca analysis on a 3D data to print out the > explained_variance. I found that with scikit-learn 0.18.1 AND 0.20.2, the > results are significantly different. In particular, for 0.18

Re: [scikit-learn] inconsistency across version

2019-02-15 Thread Nicolas Hug
There was a bug in 0.18 that was fixed here https://github.com/scikit-learn/scikit-learn/pull/9105 The results from 0.20 should be correct. It looks like you're still using Python 2, please be aware that *scikit-learn will drop support for python 2 in the next release*! Nicolas On 2/15/19 7

[scikit-learn] inconsistency across version

2019-02-15 Thread Huan Tran
Dear community, I did a very small pca analysis on a 3D data to print out the explained_variance. I found that with scikit-learn 0.18.1 AND 0.20.2, the results are significantly different. In particular, for 0.18.1 I got +3.875925353581E+00 +3.270175297443E+00 +2.207814537475E+00 and with 0.20.2,