Skip to content

Commit

Permalink
Merge b210973 into f6ab4a7
Browse files Browse the repository at this point in the history
  • Loading branch information
anlsh committed Jan 28, 2019
2 parents f6ab4a7 + b210973 commit 531b363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion id3/tree.py
Expand Up @@ -131,7 +131,7 @@ def _prune(self, node, tree):
- node.predicts[max_class],
n_predicts)

if node_error_rate < children_error_rate:
if node_error_rate <= children_error_rate:
node.is_feature = False
node.value = max_class
node.n_correct_predicts = node.predicts[max_class]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -19,7 +19,7 @@
sys.exit(1)

setup(name='decision-tree-id3',
version='0.1.2',
version='0.1.3',
description='A scikit-learn compatible package for id3 decision tree',
author='Daniel Pettersson, Otto Nordander',
packages=find_packages(),
Expand Down

0 comments on commit 531b363

Please sign in to comment.