MAINT Remove unused condition
@@ -369,10 +369,6 @@ class BaseDecisionTree(six.with_metaclass(ABCMeta, BaseEstimator)):
def _validate_X_predict(self, X, check_input):
"""Validate X whenever one tries to predict, apply, predict_proba"""
- if self.tree_ is None:
- raise NotFittedError("Estimator not fitted, "
- "call `fit` before exploiting the model.")
-
if check_input:
X = check_array(X, dtype=DTYPE, accept_sparse="csr")
if issparse(X) and (X.indices.dtype != np.intc or
