-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
init version of online serving and rolling #290
Conversation
qlib auto init basedon project & black format
Save the "param" file which is collect.py need.
@lzh222333 |
#407 has been merged now. |
Online srv blin
self.logger.info(f"Strategy `{strategy.name_id}` begins routine...") | ||
if self.status == self.STATUS_NORMAL: |
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.
Add more documents about it.
|
||
tasks = strategy.prepare_tasks(self.cur_time, **task_kwargs) | ||
models = self.trainer.train(tasks) | ||
models_list.append(models) | ||
if self.status == self.STATUS_NORMAL or not self.trainer.is_delay(): |
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.
Add more documents about it
|
||
if not delay: | ||
if not self.trainer.is_delay(): |
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.
It will better to add a 2*2 table in this file to explain how status
and delay
affect the behavior of the online manager.
init version of online serving and rolling
Description
init version of online serving and rolling
Motivation and Context
Support Online Serving and Rolling
Types of changes