Python Regression Tree interpretation

前端 未结 0 1798
傲寒
傲寒 2020-12-22 02:20

This is my code:

regr = DecisionTreeRegressor(max_depth = 2)

regr.fit(X_train, y_train)

y_pred = regr.predict(X_test)

mse = mean_squared_error(y_test, y_pr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题