Skip to content

Commit a1e96cf

Browse files
committed
Final commit
1 parent d32ae11 commit a1e96cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

random_forest_classifier.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
# Fitting the classifier into the Training set
2828

2929
from sklearn.ensemble import RandomForestClassifier
30-
classifier = RandomForestClassifier(n_estimators = 10, criterion = 'entropy', random_state = 0)
30+
classifier = RandomForestClassifier(n_estimators = 200, criterion = 'entropy', random_state = 0)
31+
classifier.fit(X_Train,Y_Train)
3132

3233
# Predicting the test set results
3334

0 commit comments

Comments
 (0)