Hi folks,

I would like to inquire, if there’s a way of generating the hypothesis (function) once we’ve develop the model using .fit() method. For example, let’s say we have 5 input features and an out put. We decided to use “RandomForestRegressor” to build out model.

m = RandomForestRegressor(n_jobs=-1)

m.fit(X, y)

m.score(X,y)

Above will develop the model and suppose we obtained a score of 0.987 which is great.

My question is, is there a way of generating a hypothesis from this developed model. For example a function in terms of input variables with their corresponding coefficients ?

Thanks