Skip to content

Commit

Permalink
Merge pull request #362 from bsc-wdc/rf-regressor-classification-fix
Browse files Browse the repository at this point in the history
RF classification fix
  • Loading branch information
michal-choinski authored Oct 29, 2021
2 parents b2f4704 + 66e9371 commit 69cc801
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def setGithubCommitStatus(state, description) {

pipeline {
options {
timeout(time: 4, unit: 'HOURS')
timeout(time: 5, unit: 'HOURS')
}
agent {
node {
Expand Down
3 changes: 2 additions & 1 deletion dislib/trees/decision_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ def predict(self, x_row):
)
branch_predictions.append(pred)
return _merge_branches(
None, *branch_predictions, classification=self.n_classes is None
None, *branch_predictions,
classification=self.n_classes is not None
)


Expand Down

0 comments on commit 69cc801

Please sign in to comment.