reductionista opened a new pull request #363: Add tests for madlib_keras_predict
URL: https://github.com/apache/madlib/pull/363
 
 
   dev-check tests:
   - Validate table format of predict output
   - Test that predicted values are in class value set
   - Test that predictions are accurate
   - Test to make sure we error out on batched input
   
   Unit tests:
   - Only _get_class_label for now.  (Tests that correct
     class value returned, plus plpy.error on invalid index.)
   
   Other changes:
   - Add normalization of training data at beginning of dev-check
     test file.  (Currently in order for predict to work, image data
     must be divided by 255 before training, to match what's done
     inside the predict function.)
   
   - Add additional error-checking in _get_class_label so that
     unit test passes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to