I want to have root mean squared of gradient boosting algorithm but when I want to print it, I receive an attribute error
my_best_model.np.sqrt(metrics.mean_squared_error(X_test_new, y_test_new))
output:
AttributeError Traceback (most recent call last)
<ipython-input-80-9c2e86b2ddf9> in <module>
----> 1 my_best_model.np.sqrt(metrics.mean_squared_error(X_test_new, y_test_new))
AttributeError: 'GradientBoostingRegressor' object has no attribute 'np'