decision-tree-id3
decision-tree-id3 copied to clipboard
Replaced depreciated 'from sklearn.externals import six' with 'import six'
Replaced deprecated dependency on sklearn.externals.six by dependency on six to fix ModuleNotFoundError: No module named 'sklearn.externals.six' in export.py Added parameters dtype='object' in calls to both sklearn validation functions check_X_y and...
Hello, By importing id3 I encounter this error on my setup. Is it possible that importing six from sklearn.externals is outdated? `File "/usr/local/lib/python3.7/site-packages/id3/__init__.py", line 3, in from .export import export_graphviz...
For some new data in `text_plot_examples.py`: ``` X = np.array([[45, "male", "private", "m"], [61, "other", "public", "b"], [60, "other", "public", "b"], [40, "male", "private", "none"], [34, "female", "private", "none"], [43,...
I installed in a virtual enviroment. But I am unable to use the module. Please help
I got problem when split dataset into train and validation set. If validation set contains attribute value that never seen in train set, this exception will occurs. This problem occurs...
I agree with the assessment in issue #1, here's a very small PR with the appropriate patch
HI, I think the 134th line in the function __prune (in tree.py), the condition for pruning should be changed from 'node_error_rate < children_error_rate' to 'node_error_rate