Traceback (most recent call last): File "/var/www/scripts/findcal_for_last.py", line 138, in find_method Y_cal = lm.predict( np.array( feature_data ).reshape(1,-1) )[0] File "/var/www/scripts/www-api-py3/lib/python3.7/site-packages/sklearn/ensemble/_forest.py", line 783, in predict X = self._validate_X_predict(X) File "/var/www/scripts/www-api-py3/lib/python3.7/site-packages/sklearn/ensemble/_forest.py", line 421, in _validate_X_predict return self.estimators_[0]._validate_X_predict(X, check_input=True) File "/var/www/scripts/www-api-py3/lib/python3.7/site-packages/sklearn/tree/_classes.py", line 395, in _validate_X_predict if self.n_features_ != n_features: AttributeError: 'DecisionTreeRegressor' object has no attribute 'n_features_'