MetaSweeper class

Definition

Runs all enabled features sweepers.

MetaSweeper(task: str, timeout_sec: int = 3600, featurization_config: typing.Union[azureml.automl.core.featurization.featurizationconfig.FeaturizationConfig, NoneType] = None, is_cross_validation: bool = False, enable_dnn: bool = False, force_text_dnn: bool = False, feature_sweeping_config: typing.Dict[str, typing.Any] = {}) -> None
Inheritance
builtins.object
MetaSweeper

Methods

sweep(working_dir: str, X: typing.Union[numpy.ndarray, pandas.core.frame.DataFrame, scipy.sparse.base.spmatrix, azureml.dataprep.api.dataflow.Dataflow], y: typing.Union[numpy.ndarray, pandas.core.series.Series, pandas.core.arrays.categorical.Categorical, azureml.dataprep.api.dataflow.Dataflow], stats_and_column_purposes: typing.Union[typing.List[typing.Tuple[azureml.automl.runtime.stats_computation.raw_stats.RawFeatureStats, str, str]], NoneType] = None, sweeping_mode: str = 'feature') -> typing.Union[typing.List[typing.Any], NoneType]

Feature sweeping and / or class balancing sweeping

sweep(working_dir: str, X: typing.Union[numpy.ndarray, pandas.core.frame.DataFrame, scipy.sparse.base.spmatrix, azureml.dataprep.api.dataflow.Dataflow], y: typing.Union[numpy.ndarray, pandas.core.series.Series, pandas.core.arrays.categorical.Categorical, azureml.dataprep.api.dataflow.Dataflow], stats_and_column_purposes: typing.Union[typing.List[typing.Tuple[azureml.automl.runtime.stats_computation.raw_stats.RawFeatureStats, str, str]], NoneType] = None, sweeping_mode: str = 'feature') -> typing.Union[typing.List[typing.Any], NoneType]

Feature sweeping and / or class balancing sweeping

sweep(working_dir: str, X: typing.Union[numpy.ndarray, pandas.core.frame.DataFrame, scipy.sparse.base.spmatrix, azureml.dataprep.api.dataflow.Dataflow], y: typing.Union[numpy.ndarray, pandas.core.series.Series, pandas.core.arrays.categorical.Categorical, azureml.dataprep.api.dataflow.Dataflow], stats_and_column_purposes: typing.Union[typing.List[typing.Tuple[azureml.automl.runtime.stats_computation.raw_stats.RawFeatureStats, str, str]], NoneType] = None, sweeping_mode: str = 'feature') -> typing.Union[typing.List[typing.Any], NoneType]

Attributes

DEFAULT_SWEEPER_TIMEOUT_SEC

DEFAULT_SWEEPER_TIMEOUT_SEC = 3600