Skip to main content
def FeatureCleanerWorker.fit(self, inputs, fx_choice=REG.AIG, **params) [source]
Execute the full data quality screening and type enforcement. Screens training features against quality gates, auto-repairs type issues, and enforces the trained type mapping on the test set.

Parameters

inputs : FeCleanerInput
Training + test datasets and variable type
classification.
fx_choice : str
The fitting strategy identifier. Defaults to REG.AIG.
**params : dict
Runtime parameters passed to the internal fitter
(max_miss, max_1val, max_var, max_corr, cat_max, downcast).

Returns

FeatureCleaner
The fitted instance with clean feature set and
type mapping available.