def create(params): """ This is a factory function that creates a feature aggregator derived class from the parameter file. It dynamically loads the requested feature aggregator class. :param params: A dictionary from a yaml experiment file. :type params: dict :return: :rtype: FeatureAggregator """ return acf_utils.behavior_factory(params, 'feature_aggregation', 'aggregator', 'fa_')
def create(params): """ This is a factory function that creates a feature extractor derived class from the parameter file. It dynamically loads the requested feature extractor class. :param params: A dictionary from a yaml experiment file. :type params: dict :return: :rtype: FeatureExtractor .. note:: These keys are expected to be set in the experiment file: * ['feature_extraction']['extractor'] """ return acf_utils.behavior_factory(params, 'feature_extraction', 'extractor', "fe_")
def create(params): return acf_utils.behavior_factory(params, 'model_testing', 'model_tester', 'tst_')
def create(params): return acf_utils.behavior_factory(params, "model_training", "model_trainer", "tr_")
def create(params): return acf_utils.behavior_factory(params, "evaluation", "evaluator", "ev_")
def create(params): return acf_utils.behavior_factory(params, "evaluation", "evaluator","ev_")
def create(params): return acf_utils.behavior_factory(params, "model_training", "model_trainer","tr_")