Open patriquintanilla opened 2 years ago
Update: setting custom_metric_func =“mape” instead of custom_metric_func = mape_func changed the error to "Job with key $03010a8e002232d4ffffffff$_baede341b95a2949d86f712d779b4d29 failed with an exception: java.lang.ArrayIndexOutOfBoundsException: 1"
Hi!
I am trying to use MAPE as custom_metric_func when training a random forest model. I am following the code you developed in https://github.com/h2oai/h2o-tutorials/blob/master/tutorials/custom_metric_func/CustomMetricFuncRegression.ipynb but I am getting the following error: "OSError: Job with key $03010a8e002232d4ffffffff$_867caadde7f5a2c1a2f64a9a2d24453e failed with an exception: ImportError: No module named mape". I am working on a Dataproc cluster in Google cloud in a Zeppelin notebook and this is exactly the code I am running:
Thanks in advance for your help!