-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
TypeError Traceback (most recent call last)
Cell In[7], line 14
8 base_model.set_params(**rf_params)
10 # Impute missing values and scale before training
11 pu_model = make_pipeline(
12 IterativeImputer(**imputer_params),
13 RobustScaler(),
---> 14 BaggingPuClassifier(base_estimator=base_model, **pu_params),
15 )
16 pu_model.set_output(transform="pandas")
18 # Train model
TypeError: BaggingPuClassifier.__init__() got an unexpected keyword argument 'base_estimator'should be estimator
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels