Skip to content

Parameter in AutoSklearnEstimator to accept smac callback  #1100

@bitsbuffer

Description

@bitsbuffer

Hi,
The smac3 writes a file at smac3-output/runhistory.json which gives a detailed summary for trials and their results. This file is written when the smac3 completes the black-box optimization. However, apart from logs, there is no way to write the trial information in between. However, by providing an option to the user to pass a callback function, this functionality can be achieved. I have noticed that in smbo.py at line 522, autosklearn is already registering a callback for ensemble learning. Likewise, a user-provided callback can be registered which then can be executed by optimizer/smbo.py _incorporate_run_results

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions