Special configs
make_FSS_config_dictionary(subsets=None, n_features=None, feature_names=None)
¶
Create the search space of parameters for FeatureSetSelector.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
subsets |
|
None
|
|
n_features |
If subsets is None, each column will be treated as a subset. One column will be selected per subset. |
None
|
Source code in tpot2/config/special_configs.py
params_feature_set_selector(trial, name=None, names_list=None, subset_dict=None)
¶
Create a dictionary of parameters for FeatureSetSelector.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
trial |
A trial corresponds to the evaluation of a objective function. |
required | |
name |
Used for compatibility in when calling multiple optuna of multiple parameters at once. |
None
|
|
names_list |
List of names of the feature set selector. To more easily keep track of what the subsets represent. Included to prevent repeat calls to list(subset_dict.keys()) which may be slow and/or have different orderings |
None
|
|
subset_dict |
A dictionary of subsets. The keys are the names of the subsets and the values are the subsets. |
None
|
Returns:
Name | Type | Description |
---|---|---|
params |
dictionary
|
A dictionary of parameters for FeatureSetSelector. |