zoo.automl.feature package

Submodules

zoo.automl.feature.abstract module

class zoo.automl.feature.abstract.BaseFeatureTransformer[source]

Bases: abc.ABC

Abstract Base class for Feature transformers.

check_optional_config = False
fit_transform(input_df, **config)[source]

fit data with the input dataframe Will refit the scalars to this data if any. :param input_df: input to be fitted :param config: the config :return:

restore(**config)[source]

Restore variables from file :param file_path: file contain saved parameters.

i.e. some parameters are obtained during training, not in trial config, e.g. scaler fit params)
Parameters:config – the trial config
Returns:
save(file_path)[source]

save the feature tools internal variables. Some of the variables are derived after fit_transform, so only saving config is not enough. :param: file_path : the file to be saved :param: config: the trial config :return:

transform(input_df)[source]

transform the data with fitted :param input_df: input dataframe :return:

zoo.automl.feature.identity_transformer module

zoo.automl.feature.time_sequence module

Module contents