This is an automated email from the ASF dual-hosted git repository. domino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/madlib.git
The following commit(s) were added to refs/heads/master by this push: new 4987e8f DL: Fix syntax errors in keras evaluate test 4987e8f is described below commit 4987e8fe5367bb823afb1bd4020fd6f0fa603258 Author: Domino Valdano <dvald...@pivotal.io> AuthorDate: Thu Mar 11 16:05:53 2021 -0500 DL: Fix syntax errors in keras evaluate test --- .../postgres/modules/deep_learning/test/madlib_keras_evaluate.sql_in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ports/postgres/modules/deep_learning/test/madlib_keras_evaluate.sql_in b/src/ports/postgres/modules/deep_learning/test/madlib_keras_evaluate.sql_in index f2f8822..167153c 100644 --- a/src/ports/postgres/modules/deep_learning/test/madlib_keras_evaluate.sql_in +++ b/src/ports/postgres/modules/deep_learning/test/madlib_keras_evaluate.sql_in @@ -112,11 +112,11 @@ DROP TABLE IF EXISTS evaluate_out; SELECT madlib_keras_evaluate('cifar_10_multiple_model', 'cifar_10_sample_batched', 'evaluate_out', FALSE, 2); SELECT assert( ( - (e.metric < 0.00001 AND i.training_metric_final < 0.00001) OR + (e.metric < 0.00001 AND i.training_metrics_final < 0.00001) OR relative_error(e.metric,i.training_metrics_final) < 0.00001 ) AND ( (e.loss < 0.00001 AND i.training_loss_final < 0.00001) OR - relative_error(e.loss,i.training_loss_final) < 0.00001) + relative_error(e.loss,i.training_loss_final) < 0.00001 ) AND e.metrics_type = '{accuracy}', 'Evaluate output validation failed.') FROM evaluate_out e, cifar_10_multiple_model_info i WHERE i.mst_key = 2;