Skip to content

Commit

Permalink
change force_all_finite to ensure_all_finit (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski committed Jan 10, 2025
1 parent aa2eed4 commit 0e0d927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervised/base_automl.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def _build_dataframe(self, X, y=None, sample_weight=None, sensitive_features=Non
# If Inputs are not pandas dataframes use scikit-learn validation for X array
if not isinstance(X, pd.DataFrame):
# Validate X as array
X = check_array(X, ensure_2d=False, force_all_finite=False)
X = check_array(X, ensure_2d=False, ensure_all_finite=False)
# Force X to be 2D
X = np.atleast_2d(X)
# Create Pandas dataframe from np.arrays, columns get names with the schema: feature_{index}
Expand Down

0 comments on commit 0e0d927

Please sign in to comment.