If the attached 'internal_custom_metric.py' file is run on EMR+SW (internal mode only) it prints:
When it should print something like:
Issue is apparent with python 3.6 and 2.7.
Using raw code from this notebook: https://github.com/h2oai/h2o-tutorials/blob/master/tutorials/custom_metric_func/CustomMetricFuncClassification.ipynb
doesn't print the custom metric.
Code below has all 0s for the custom metric score: