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

quit saving evaluate result as file #46

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

yuki-mt
Copy link
Member

@yuki-mt yuki-mt commented Mar 29, 2019

What is this PR for?

dashboard saves evaluation result to db (result column of evaluation_result table),
so not need to save as file

This PR includes

  • quit saving evaluate result
  • remove file suffix (because only 1 file is saved in evaluation)

What type of PR is it?

fix

What is the issue?

#45

How should this be tested?

python -m unittest

@yuki-mt yuki-mt self-assigned this Mar 29, 2019
@yuki-mt yuki-mt requested a review from keigohtr March 29, 2019 09:08
Copy link
Member

@keigohtr keigohtr left a comment

Choose a reason for hiding this comment

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

Could you answer my question?

option=result.option,
label=label_ios)
# TODO: deprecated. remove metrics from response in the next gRPC spec
metrics = rekcurd_pb2.EvaluationMetrics()
Copy link
Member

Choose a reason for hiding this comment

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

How do you get EvaluationMetrics at the beginning?
To save the evaluation result on dashboard, we need to get scores from Rekcurd.

Copy link
Member Author

Choose a reason for hiding this comment

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

at the beginning, EvaluateModel method get & returns EvaluationMetrics to dashboard, and dashboard save the metrics.

This part is just to restore the result of EvaluateModel method.

Copy link
Member

Choose a reason for hiding this comment

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

Do you mean we don't need to pack EvaluationMetrics to EvaluationResultResponse?
I see.

Copy link
Member

@keigohtr keigohtr left a comment

Choose a reason for hiding this comment

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

LGTM

option=result.option,
label=label_ios)
# TODO: deprecated. remove metrics from response in the next gRPC spec
metrics = rekcurd_pb2.EvaluationMetrics()
Copy link
Member

Choose a reason for hiding this comment

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

Do you mean we don't need to pack EvaluationMetrics to EvaluationResultResponse?
I see.

@yuki-mt yuki-mt merged commit 803763d into master Apr 3, 2019
@yuki-mt yuki-mt deleted the feature/quit_saving_evaluation_result branch April 3, 2019 06:36
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.

2 participants