Resolved! Creating Pandas Data Frame of Features After Applying Variance Reduction
I am building a classification model using the following data frame of 120,000 records (sample of 5 records shown):Using this data, I have built the following model:from sklearn.model_selection import train_test_split from sklearn.feature_extraction....
- 2012 Views
- 1 replies
- 0 kudos
Latest Reply
This is more of a scikit-learn question than a Databricks question. But poking around I think VT_reduced.get_support() is probably what you are looking for:https://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.VarianceThreshold....
- 0 kudos