Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Numerical Precision with Dynamic Significant Figures in FLAML Logs #1305

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Programmer-RD-AI
Copy link
Contributor

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 update introduces a significant enhancement in the precision of numerical outputs across various modules of the FLAML project by dynamically adjusting the number of significant figures. This adjustment is particularly useful for logs where numerical precision is critical for understanding model performance nuances.
These changes ensure that numerical outputs are not just precise but also meaningful, avoiding the loss of critical information due to overly truncated numbers. This is a key step forward in making our logs and outputs as informative and actionable as possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant