Random selection of variables in each run of python sklearn decision tree (regressio )
When I put random_state = None
and run Decision tree for regression in python sklearn, it takes different variables to build tree each time?
Shouldn't there be only few top variables which should be used to split and should throw me similar trees everytime?
Also, if I use integer for random_state
and run the decision tree, it gives me a different tree for each random_state
setting. Which tree should be selected in case of so many trees?
Topic cart decision-trees regression scikit-learn
Category Data Science