This pull request introduces an enhancement to the numerical precision of output logs across various modules within the FLAML project by dynamically adjusting the number of significant figures displayed. This feature is crucial in contexts where precise numerical detail is necessary for comprehending subtle nuances in model performance.
Key improvements:
A new utility function format_integers ensures that numbers are formatted to a dynamic number of significant figures based on the first non-zero digit after the decimal point, with a minimum threshold of four significant figures.
This function has been integrated into several modules including AutoML and NNI MNIST examples, improving the precision and readability of logged metrics.
These changes help prevent the loss of important numerical information due to overly truncated figures, making model logs more informative and actionable.
This update aligns with FLAML's ongoing efforts to enhance usability and clarity in model evaluation and tuning processes.
Related Issue: #1272
Thank you for considering this enhancement. I believe it will make a significant difference in the usability and accuracy of our logging procedures.
This pull request introduces an enhancement to the numerical precision of output logs across various modules within the FLAML project by dynamically adjusting the number of significant figures displayed. This feature is crucial in contexts where precise numerical detail is necessary for comprehending subtle nuances in model performance.
Key improvements:
format_integers
ensures that numbers are formatted to a dynamic number of significant figures based on the first non-zero digit after the decimal point, with a minimum threshold of four significant figures.This update aligns with FLAML's ongoing efforts to enhance usability and clarity in model evaluation and tuning processes.
Related Issue: #1272
Thank you for considering this enhancement. I believe it will make a significant difference in the usability and accuracy of our logging procedures.