@@ -418,13 +418,8 @@ def search(
418418 y_test = y_test ,
419419 resampling_strategy = self .resampling_strategy ,
420420 resampling_strategy_args = self .resampling_strategy_args ,
421- << << << < HEAD
422421 dataset_name = dataset_name ,
423422 dataset_compression = self ._dataset_compression )
424- == == == =
425- dataset_name = dataset_name
426- )
427- >> >> >> > [FIX ] Enable preprocessing in reg_cocktails (#369)
428423
429424 return self ._search (
430425 dataset = self .dataset ,
@@ -465,23 +460,23 @@ def predict(
465460 raise ValueError ("predict() is only supported after calling search. Kindly call first "
466461 "the estimator search() method." )
467462
468- X_test = self .InputValidator .feature_validator .transform (X_test )
463+ X_test = self .input_validator .feature_validator .transform (X_test )
469464 predicted_probabilities = super ().predict (X_test , batch_size = batch_size ,
470465 n_jobs = n_jobs )
471466
472- if self .InputValidator .target_validator .is_single_column_target ():
467+ if self .input_validator .target_validator .is_single_column_target ():
473468 predicted_indexes = np .argmax (predicted_probabilities , axis = 1 )
474469 else :
475470 predicted_indexes = (predicted_probabilities > 0.5 ).astype (int )
476471
477472 # Allow to predict in the original domain -- that is, the user is not interested
478473 # in our encoded values
479- return self .InputValidator .target_validator .inverse_transform (predicted_indexes )
474+ return self .input_validator .target_validator .inverse_transform (predicted_indexes )
480475
481476 def predict_proba (self ,
482477 X_test : Union [np .ndarray , pd .DataFrame , List ],
483478 batch_size : Optional [int ] = None , n_jobs : int = 1 ) -> np .ndarray :
484- if self .InputValidator is None or not self .InputValidator ._is_fitted :
479+ if self .input_validator is None or not self .input_validator ._is_fitted :
485480 raise ValueError ("predict() is only supported after calling search. Kindly call first "
486481 "the estimator search() method." )
487482 X_test = self .input_validator .feature_validator .transform (X_test )
0 commit comments