Я хочу получить среднеквадратический алгоритм усиления градиента, но когда я хочу напечатать его, я получаю ошибку атрибута
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'