Top "Random-forest" questions

In learning algorithms and statistical classification, a random forest is an ensemble classifier that consists in many decision trees.

Numpy Array Get row index searching by a row

I am new to numpy and I am implementing clustering with random forest in python. My question is: How could …

python arrays numpy random-forest
Get the accuracy of a random forest in R

I have created a random forest out of my data: fit=randomForest(churn~., data=data_churn[3:17], ntree=1, importance=TRUE, proximity=…

r random-forest confusion-matrix
How to improve randomForest performance?

I have a training set of size 38 MB (12 attributes with 420000 rows). I am running the below R snippet, to train …

r performance random-forest
What does `sample_weight` do to the way a `DecisionTreeClassifier` works in sklearn?

I've read from this documentation that : "Class balancing can be done by sampling an equal number of samples from each …

scikit-learn random-forest decision-tree
PySpark & MLLib: Random Forest Feature Importances

I'm trying to extract the feature importances of a random forest object I have trained using PySpark. However, I do …

apache-spark pyspark random-forest apache-spark-mllib
Random Forest with GridSearchCV - Error on param_grid

Im trying to create a Random Forest model with GridSearchCV but am getting an error pertaining to param_grid: "ValueError: …

python scikit-learn random-forest grid-search
Save python random forest model to file

In R, after running "random forest" model, I can use save.image("***.RData") to store the model. Afterwards, I can …

python machine-learning scikit-learn random-forest
Variable importance with ranger

I trained a random forest using caret + ranger. fit <- train( y ~ x1 + x2 ,data = total_set ,method = "ranger" ,…

r machine-learning random-forest r-caret
how to use classwt in randomForest of R?

I have a highly imbalanced data set with target class instances in the following ratio 60000:1000:1000:50 (i.e. a total of 4 …

r random-forest
Suggestions for speeding up Random Forests

I'm doing some work with the randomForest package and while it works well, it can be time-consuming. Any one have …

r random-forest