Skip to content

Commit

Permalink
Change to disable Balanced Random Forest as default
Browse files Browse the repository at this point in the history
  • Loading branch information
masatoi committed Dec 18, 2019
1 parent 95e475a commit 6459537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/random-forest.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ Wallace, Byron C., et al. ``Class imbalance, redux.''
(defun make-forest (n-class datamatrix target
&key (n-tree 100) (bagging-ratio 0.1) (max-depth 5) (min-region-samples 1)
(n-trial 10) (gain-test #'entropy)
(remove-sample-indices? t) (save-parent-node? nil) (balance t))
(remove-sample-indices? t) (save-parent-node? nil) (balance nil))
(let ((forest (%make-forest
:n-tree n-tree
:bagging-ratio bagging-ratio
Expand Down

0 comments on commit 6459537

Please sign in to comment.