User Tools

Site Tools


ease:machinelearning:classifier_training

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ease:machinelearning:classifier_training [2020/06/22 11:25] s_fuyedcease:machinelearning:classifier_training [2020/06/22 11:46] (current) s_fuyedc
Line 13: Line 13:
 </code> </code>
  
-The parameters that we speak of are within the two //range// constructions, namely the 9 for the max_depth and 21 for max_leaf_notes. Finding parameters that train the model to an F1 value above 0.9 can be done programmatically by increasing both values, since more depth and nodes result in a more precise model. Taking a maximum depth of 14 and 26 leaf nodes are the lowest values that reach a score of just above 0.9.+After preparing the test- and dataset, two suitable parameters need to be decided for, determining the depth and breadth of the decision tree. The parameters that we speak of are within the two //range// constructions, namely the 9 for the max_depth and 21 for max_leaf_notes. Finding parameters that train the model to an F1 value above 0.9 can be done programmatically by increasing both values, since more depth and nodes result in a more precise model. Taking a maximum depth of 14 and 26 leaf nodes is the lowest setting to reach a score of just above 0.9.
 <code python> <code python>
 parameters = {'max_depth':range(1,14,1), 'max_leaf_nodes': range(2,26,1)} parameters = {'max_depth':range(1,14,1), 'max_leaf_nodes': range(2,26,1)}
ease/machinelearning/classifier_training.1592825123.txt.gz · Last modified: 2020/06/22 11:25 by s_fuyedc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki