Skip to content

Conversation

@yuki-mt
Copy link
Member

@yuki-mt yuki-mt commented Apr 4, 2019

What is this PR for?

update how to deal with evaluation data

This PR includes

  • upload evaluations data using DataServer
  • delete evaluation data file when EvaluationModel is deleted
  • delete evaluation result data file when EvaluationResultModel is deleted

What type of PR is it?

Feature

What is the issue?

fixed rekcurd/rekcurd-python#29

How should this be tested?

python -m unittest test/**/*.py

@yuki-mt yuki-mt self-assigned this Apr 4, 2019
@yuki-mt yuki-mt requested a review from keigohtr April 4, 2019 02:26
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
Nice work with you!

def upload_model(
self, data_server_model: DataServerModel, application_model: ApplicationModel, local_filepath: str) -> str:
filepath = "{0}/ml-{1:%Y%m%d%H%M%S}.model".format(application_model.application_name, datetime.datetime.utcnow())
def _get_handler(self, data_server_model: DataServerModel):
Copy link
Member

Choose a reason for hiding this comment

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

Adding handler is a good change!

@yuki-mt yuki-mt merged commit 2d034bb into master Apr 10, 2019
@yuki-mt yuki-mt deleted the feature/delete_evaluate_files branch April 10, 2019 03:10
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.

Delete Evaluation file

3 participants