Skip to content

Commit 9f1cac5

Browse files
authored
Update Random_Forest.ipynb
1 parent 97bf157 commit 9f1cac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Random_Forest.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
" best_accuracy = 0\n",
436436
" for i in range(3,7): # 2 trees minimum and 10 trees maximum (n)\n",
437437
" for j in np.arange(40,100,20): # 10 percent to underfit and 90 percent to overfit (m)\n",
438-
" for k in np.linspace(0,30,5)*0.01: # gini excepted to not to split further\n",
438+
" for k in np.linspace(0,30,5)*0.01: # gini values set\n",
439439
" # instantiate the object with different i,j,k values and find the best accuracy\n",
440440
" random_forest = Random_Forest(i, j, X_train, y_train, X_test, y_test, min_training_gini = k)\n",
441441
" current_accuracy = random_forest.fit_and_test()\n",

0 commit comments

Comments
 (0)