Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find rules of decision tree python

tree_rules = export_text(model, feature_names=list(X_train.columns))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #rules #decision #tree #python
ADD COMMENT
Topic
Name
4+4 =