Hello, I would like to use Random Forest classifier to assess the importance of features (bag-of-words) but I don't have any predefined class labels or any test data. I have earlier used ExtraTreesClassifier() with fit_transform, which is not available anymore (see below). I am wondering how I could use Random Forest now.
clf = ExtraTreesClassifier() clf.fit_transform(doc_term_matrix,np.empty(doc_term_matrix.shape)) features_importance=np.array(clf.feature_importances_) Thanks, Gabor
_______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn