Skip to content

Conversation

canerturkmen
Copy link
Contributor

Issue #, if available:

#3766

Description of changes:

  • Enable logging to file, including a custom log file name following the API of TabularPredictor.
  • Clean up unused verbosity arguments and set_logger_verbosity calls throughout the library.

Note: Previously, timeseries model objects (AbstractTimeSeriesModel) had their own verbosity levels provided in the call to fit, which was propagated from the Trainer fit call to individual models. While this created clutter, it also afforded the flexibility of models potentially using the verbosity level to set dependency log output levels (e.g., GluonTS). We keep this as is: GluonTS models still receive verbosity as a fit argument.

However, logger verbosity is now only controlled by the Predictor, which sets the verbosity (either during init or fit) to the autogluon.timeseries parent logger, which is inherited by all logging.getLogger(__name__) calls in the timeseries module.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@canerturkmen canerturkmen added the module: timeseries related to the timeseries module label Jan 23, 2024
@canerturkmen canerturkmen requested a review from shchur January 23, 2024 14:18
Copy link
Collaborator

@shchur shchur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this looks great! Feel free to merge if the tests are passing.

Copy link

Job PR-3877-d07a942 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-3877/d07a942/index.html

@canerturkmen canerturkmen merged commit fefec78 into autogluon:master Jan 23, 2024
@canerturkmen canerturkmen deleted the add-log-to-file branch January 23, 2024 21:58
LennartPurucker pushed a commit to LennartPurucker/autogluon that referenced this pull request Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: timeseries related to the timeseries module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants