About 220,000 results
Open links in new tab
  1. Plot trees for a Random Forest in Python with Scikit-Learn

    Oct 20, 2016 · After you fit a random forest model in scikit-learn, you can visualize individual decision trees from a random forest. The code below first fits a random forest model.

  2. random forest - Do I need to normalize (or scale) data for …

    Jan 22, 2012 · Random Forests is a nonlinear model and the nature of the node splitting statistic accounts for high dimensional interactions. As such, it is unnecessary and quite undesirable to …

  3. Save python random forest model to file - Stack Overflow

    Dec 18, 2013 · I separate the Model and Prediction into two files. And in Model file: rf= RandomForestRegressor(n_estimators=250, max_features=9,compute_importances=True) …

  4. How to increase the accuracy of Random Forest Classifier?

    Mar 27, 2023 · np.mean(forest_classification_scores) # tuning in Random Forest. The idea is taken from Katarina Pavlović - Predicting the type of physical activity from tri-axial smartphone …

  5. How to do cross-validation on random forest? - Stack Overflow

    Mar 25, 2022 · I am working on a binary classification using random forest. My dataset is imbalanced with 77:23 ratio. my dataset shape is (977, 7) I initially tried the below model = …

  6. Incremental training of random forest model using python sklearn

    May 19, 2017 · I am using the below code to save a random forest model. I am using cPickle to save the trained model. As I see new data, can I train the model incrementally. Currently, the …

  7. Retrieve list of training features names from classifier

    Nov 8, 2016 · What's more, since Random Forests make random selection of features for your decision trees (called estimators in sklearn) all the features are likely to be used at least once. …

  8. How to train Random Forest classifier with large dataset to avoid ...

    Feb 15, 2024 · How to train Random Forest classifier with large dataset to avoid memory errors in Python? [duplicate] Asked 1 year, 8 months ago Modified 1 year, 2 months ago Viewed 949 times

  9. Minimum number of observation when performing Random Forest

    Jul 27, 2015 · Is it possible to apply RandomForests to very small datasets? I have a dataset with many variables but only 25 observation each. Random forests produce reasonable results with …

  10. Plot Feature Importance with feature names - Stack Overflow

    Jun 13, 2017 · In R there are pre-built functions to plot feature importance of Random Forest model. But in python such method seems to be missing. I search for a method in matplotlib. …