ETIA.AFS.predictive_configurator
- class PredictiveConfigurator[source]
Bases:
objectReads the available predictive learning, feature selection, and preprocessing algorithms from JSON files and creates the predictive configurations.
- path
The path to the directory containing the JSON configuration files.
- Type:
str
- pred_algs
Dictionary containing the available predictive algorithms and their configurations.
- Type:
dict
- fs_algs
Dictionary containing the available feature selection algorithms and their configurations.
- Type:
dict
- preprocess_algs
Dictionary containing the available preprocessing algorithms and their configurations.
- Type:
dict
- create_predictive_configs()[source]
Creates a list of all possible predictive configurations by combining available algorithms.
- create_predictive_configs() List[Dict[str, Any]][source]
Creates a list of predictive configurations by combining available algorithms and their options.
It reads configurations from the loaded JSON files for predictive models, feature selection methods, and preprocessing algorithms, and combines them to create all possible configurations.
- Returns:
A list of dictionaries, where each dictionary is a unique combination of a predictive model, feature selection algorithm, and preprocessing method.
- Return type:
List[Dict[str, Any]]