icecube.ml_suite.FeatureFactory module

class icecube.ml_suite.FeatureFactory.FeatureFactory(config: (<class 'str'>, <class 'dict'>))

Bases: object

Reads a yaml config file and builds a Feature Extractor

Parameters:

config

str or dict Path to yaml file or a dictionary with specified settings. Example config:

{
    'features': [
        {
            'class': 'TotalCharge',
            'kwargs': {},
        },
        {
            'class': 'ChargeUntilT',
            'kwargs': {'times': [10, 20]},
        },
    ]
}

make_feature_extractor()