You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This controller is used by the VM to store the result of the training job. It needs to do the following things in sequence:
Validate the incoming request by calling “validate_request(request_data)” method. If request is valid the proceed ahead otherwise return error code 401 (Unauthorized access).
Extract job_request_id, classifier_data from incoming request.
Find “ClassifierTrainingJobModel” corresponding to job_request_id. Extract state_name, exp_id, algorithm_id, exp_version from this model.
Find classifier_model_id stored in corresponding state. If it is not available then Create new “Classifier Data Model” instance with id = job_request_id.
Set exp_id, exp_version, state_name, algorithm_id and classifier_data in model instance. Store model instance in database.
Set the classifier_model_id of state to ID of this Classifier Data Model instance.
Modify job request model’s status to indicate that job has been finished. Store it back to database.
@pranavsid98 make sure that URLs for these controllers are same as the once described in this doc. It would be better to define them in feconf.py as constants.
This implements Milestone 3 of the VM project.
This controller is used by the VM to store the result of the training job. It needs to do the following things in sequence:
/cc @anmolshkl @prasanna08
The text was updated successfully, but these errors were encountered: