Machine Learning Algorithms by Giuseppe Bonaccorso

Machine Learning Algorithms by Giuseppe Bonaccorso

Author:Giuseppe Bonaccorso
Language: eng
Format: epub, mobi, pdf
Tags: COM051300 - COMPUTERS / Programming / Algorithms, COM018000 - COMPUTERS / Data Processing, COM051360 - COMPUTERS / Programming Languages / Python
Publisher: Packt
Published: 2018-02-26T06:22:20+00:00


>>> gs.best_estimator_

DecisionTreeClassifier(class_weight=None, criterion='entropy', max_depth=None,

max_features=None, max_leaf_nodes=None,

min_impurity_split=1e-07, min_samples_leaf=1,

min_samples_split=2, min_weight_fraction_leaf=0.0,

presort=False, random_state=None, splitter='best')

>>> gs.best_score_

0.8380634390651085

In this case, the element that impacted accuracy the most is the minimum number of samples to consider for a split. This is reasonable, considering the structure of this dataset and the need to have many branches to capture even small changes.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.