I am getting Value Error `ValueError: cannot set W...
# ask-metaflow
b
I am getting Value Error
ValueError: cannot set WRITEABLE flag to True of this array
Here is where I got the error
@step
def fit_randomforest(self):
self.model_rf = RandomForestRegressor(n_estimators=self.n_estimators, random_state=42)
self.model_rf.fit(self.X_train, self.y_train)
self.next(self.predict_randomforest)