Random Forest Parameters

What the importance of Random-state parameter in Random Forest?

Hi,

Random state is basically used for reproducing your problem the same every time it is run. If you do not use a random* state in train test split, every time you make the split you might get a different set of train and test data points and will not help you in debugging in case you get an issue.

random_state : int, RandomState instance or None, optional (default=None)

If int, random_state is the seed used by the random number generator; If RandomState instance, random_state is the random number generator; If None, the random number generator is the RandomState instance used by np.random .

© Copyright 2013-2019 Analytics Vidhya