how to get the number of components in PCA that capture at least 90 percent of the explained_variance?

前端 未结 0 889
闹比i
闹比i 2021-02-06 17:46

I am using sklearn.decomposition PCA in Python with X_train DF as follows: \'\'\' pca = PCA(random_states=24) pca_model = pca.fit(X_train) pca_components = pca_model.transform(X

相关标签:
回答
  • 消灭零回复
提交回复
热议问题