LoginSignup
0
0

More than 3 years have passed since last update.

sklearnのPCAの再現性についてメモ

Last updated at Posted at 2019-10-17

scikit-learnのversionは0.21.3。
random_stateを指定しても、explained_variance_ratio_が同じ値の軸があると、transformの結果が一意でない。
当然といえば当然な気がするけど、最初再現性がない理由がわからなくて戸惑った。
今は、explained_variance_ratio_内に重複がないか確認している。

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0