mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-12 17:56:20 +00:00

* v0.2.2 separate the HPO part into the module flaml.tune enhanced implementation of FLOW^2, CFO and BlendSearch support parallel tuning using ray tune add support for sample_weight and generic fit arguments enable mlflow logging Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com> Co-authored-by: qingyun-wu <qw2ky@virginia.edu>
16 lines
474 B
Python
16 lines
474 B
Python
from flaml.searcher import CFO, BlendSearch, FLOW2
|
|
from flaml.automl import AutoML
|
|
from flaml.version import __version__
|
|
import logging
|
|
|
|
# Set the root logger.
|
|
logger = logging.getLogger(__name__)
|
|
logger.setLevel(logging.INFO)
|
|
|
|
# Add the console handler.
|
|
_ch = logging.StreamHandler()
|
|
logger_formatter = logging.Formatter(
|
|
'[%(name)s: %(asctime)s] {%(lineno)d} %(levelname)s - %(message)s',
|
|
'%m-%d %H:%M:%S')
|
|
_ch.setFormatter(logger_formatter)
|
|
logger.addHandler(_ch) |