tabensemb.data.dataimputer.MiceLightgbmImputer._fit_transform#
method
- MiceLightgbmImputer._fit_transform(input_data: DataFrame, datamodule: DataModule, **kwargs)[source]#
Fit the imputer and transform the input dataframe. This should be performed on the training and validation sets.
- Parameters:
- input_data:
A tabular dataset.
- datamodule:
A
DataModuleinstance that contains necessary information required by imputers.
- Returns:
- pd.DataFrame
A transformed tabular dataset.