evalml.pipelines.components.RFClassifierSelectFromModel.fit_transform

RFClassifierSelectFromModel.fit_transform(X, y=None)

Fits feature selector on data X then transforms X by selecting features

Parameters
  • X (pd.DataFrame) – Data to fit and transform

  • y (pd.Series) – Labels to fit and transform

Returns

Transformed X

Return type

pd.DataFrame