mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-08 15:56:13 +00:00
remove postponed eval of annotations from automl.py
This commit is contained in:
parent
bdbba6e3bc
commit
2f93736740
@ -2,7 +2,6 @@
|
||||
# * Copyright (c) FLAML authors. All rights reserved.
|
||||
# * Licensed under the MIT License. See LICENSE file in the
|
||||
# * project root for license information.
|
||||
from __future__ import annotations
|
||||
import time
|
||||
import os
|
||||
import sys
|
||||
@ -344,10 +343,7 @@ class AutoMLState:
|
||||
return sampled_X_train, sampled_y_train, sampled_weight, groups
|
||||
|
||||
@staticmethod
|
||||
def _compute_with_config_base(config_w_resource,
|
||||
state: AutoMLState,
|
||||
estimator,
|
||||
is_report=True):
|
||||
def _compute_with_config_base(config_w_resource, state, estimator, is_report=True):
|
||||
if "FLAML_sample_size" in config_w_resource:
|
||||
sample_size = int(config_w_resource["FLAML_sample_size"])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user