-
Notifications
You must be signed in to change notification settings - Fork 1k
[core] make AbstractTrainer generic in model type, remove SimpleAbstractTrainer #4820
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
[core] make AbstractTrainer generic in model type, remove SimpleAbstractTrainer #4820
Conversation
1b084e3
to
7d62ff2
Compare
timeseries/src/autogluon/timeseries/trainer/abstract_trainer.py
Outdated
Show resolved
Hide resolved
timeseries/src/autogluon/timeseries/trainer/abstract_trainer.py
Outdated
Show resolved
Hide resolved
timeseries/src/autogluon/timeseries/trainer/abstract_trainer.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
c41a7c8
to
e449b2c
Compare
Job PR-4820-80d7394 is done. |
Job PR-4820-7d251ff is done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small comment, otherwise LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, awesome work!
… SimpleAbstractTrainer
e598ea4
to
93455da
Compare
Job PR-4820-93455da is done. |
… SimpleAbstractTrainer
Issue #, if available:
Description of changes:
AbstractTrainer
generic in the model type, allowing tighter type checking for timeseries. This signals to users thatAbstractTrainer
s will always be coupled to anAbstractModel
object that they work with. This is also a good first step for moving shared stuff out ofAbstractModel
and refactoringAbstractTimeSeriesModel
which still improperly inherits fromAbstractModel
.SimpleAbstractTrainer
from timeseries.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.