Skip to content

Commit 7ac076d

Browse files
Copilotthinkall
andauthored
Use scientific notation for best error in logger output (#1498)
* Initial plan * Change best error format from .4f to .4e for scientific notation Co-authored-by: thinkall <3197038+thinkall@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thinkall <3197038+thinkall@users.noreply.github.com> Co-authored-by: Li Jiang <bnujli@gmail.com>
1 parent 3d489f1 commit 7ac076d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flaml/automl/automl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3015,7 +3015,7 @@ def _search_sequential(self):
30153015
)
30163016

30173017
logger.info(
3018-
" at {:.1f}s,\testimator {}'s best error={:.4f},\tbest estimator {}'s best error={:.4f}".format(
3018+
" at {:.1f}s,\testimator {}'s best error={:.4e},\tbest estimator {}'s best error={:.4e}".format(
30193019
self._state.time_from_start,
30203020
estimator,
30213021
search_state.best_loss,

0 commit comments

Comments
 (0)