Skip to content

Commit 0e0d927

Browse files
committed
change force_all_finite to ensure_all_finit (#787)
1 parent aa2eed4 commit 0e0d927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervised/base_automl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ def _build_dataframe(self, X, y=None, sample_weight=None, sensitive_features=Non
739739
# If Inputs are not pandas dataframes use scikit-learn validation for X array
740740
if not isinstance(X, pd.DataFrame):
741741
# Validate X as array
742-
X = check_array(X, ensure_2d=False, force_all_finite=False)
742+
X = check_array(X, ensure_2d=False, ensure_all_finite=False)
743743
# Force X to be 2D
744744
X = np.atleast_2d(X)
745745
# Create Pandas dataframe from np.arrays, columns get names with the schema: feature_{index}

0 commit comments

Comments
 (0)