-
Notifications
You must be signed in to change notification settings - Fork 38
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
Feature/forecast auto select #825
Conversation
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.
Great work!
@@ -250,6 +247,23 @@ def generate_report(self): | |||
sec9 = rc.DataTable(self.eval_metrics, index=True) | |||
train_metrics_sections = [sec9_text, sec9] | |||
|
|||
backtest_sections = [] | |||
if self.spec.model == "auto-select": |
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.
NIT: i would recommend move it to the consts.
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.
Done
str | ||
The type of the model. | ||
""" | ||
from ..model_evaluator import ModelEvaluator |
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.
Why do we need this import here, can it be move on top?
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.
Done
from .operator_config import ForecastOperatorConfig | ||
|
||
|
||
class ModelEvaluator: |
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.
I noticed that there are no comments and pydocs at all :) Could you add them. I also noticed that somewhere we use typing but somewhere not, for the consistency could you add typing evarywhere?
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.
Updated
name=column, | ||
)) | ||
|
||
import report_creator as rc |
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.
why do we need this import here? Can it be moved on top?
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.
Done
@@ -187,7 +187,7 @@ def run_yaml(tmpdirname, yaml_i, output_data_path, test_metrics_check=True): | |||
|
|||
def populate_yaml( | |||
tmpdirname=None, | |||
model="auto", | |||
model="auto-select", |
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.
What would be the difference between auto and auto-select options?
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.
To avoid the confusion, we replaced 'auto' with auto-select
. auto
was ambiguous a bit as we have automlx models. auto-select
indicates that the system automatically chooses the best framework or model more clearly.
ODSC-54590
auto-select
option.