Skip to content

Commit

Permalink
add scoring metric as metafeature
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenWuyifan committed Apr 25, 2024
1 parent 1d9810e commit 5d4ed25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alpha_automl/pipeline_synthesis/setup_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def update_config(task_name, metric, grammar, metadata):
config['METRIC'] = metric
config['DATASET'] = f'DATASET_{task_name}'
config['GRAMMAR'] = grammar
metafeatures = compute_metafeatures(metadata)
metafeatures = compute_metafeatures(metric, metadata)
config['DATASET_METAFEATURES'] = metafeatures + [0] * (8 - len(metafeatures))

return config
Expand Down

0 comments on commit 5d4ed25

Please sign in to comment.