I have seen ML tutorials using a parameter called random_states
. Why and how this parameter can make changes in the model?
from sklearn.tree import DecisionTreeRegressor
melbourne_model = DecisionTreeRegressor(random_state=1)
melbourne_model.fit(X, y)