Skip to content

Commit

Permalink
FIX update impute_missing default
Browse files Browse the repository at this point in the history
  • Loading branch information
PSSF23 committed Jul 9, 2024
1 parent 19ed6f3 commit 06ba512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treeple/ensemble/_honest_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def predict_proba(self, X):
"""
return self._predict_proba(X)

def _predict_proba(self, X, indices=None, impute_missing=None):
def _predict_proba(self, X, indices=None, impute_missing=np.nan):
"""predict_proba helper class"""
check_is_fitted(self)
X = self._validate_X_predict(X)
Expand Down

0 comments on commit 06ba512

Please sign in to comment.