我已经使用h2o
大约三年了,这是我第一次遇到这种错误。我无法共享一个可重复的示例,因为我使用的是敏感数据,但数据集包含约20K观测值,R版本4.0.2,macOS Catalina 10.15.6,最新稳定版本h20 3.30.1.3。您能帮我理解错误吗?这是经过几分钟训练模型的结果(根据进度条完成了53%):
java.lang.NullPointerException
java.lang.NullPointerException
at hex.ModelMetrics.getMetricFromModelMetric(ModelMetrics.java:151)
at ai.h2o.automl.leaderboard.Leaderboard.getMetrics(Leaderboard.java:558)
at ai.h2o.automl.leaderboard.Leaderboard.updateModels(Leaderboard.java:422)
at ai.h2o.automl.leaderboard.Leaderboard.lambda$addModels$0(Leaderboard.java:381)
at ai.h2o.automl.leaderboard.Leaderboard.atomicUpdate(Leaderboard.java:442)
at ai.h2o.automl.leaderboard.Leaderboard.addModels(Leaderboard.java:378)
at ai.h2o.automl.leaderboard.Leaderboard.addModel(Leaderboard.java:459)
at ai.h2o.automl.ModelingStepsExecutor.addModel(ModelingStepsExecutor.java:186)
at ai.h2o.automl.ModelingStepsExecutor.monitor(ModelingStepsExecutor.java:163)
at ai.h2o.automl.ModelingStepsExecutor.submit(ModelingStepsExecutor.java:82)
at ai.h2o.automl.AutoML.learn(AutoML.java:604)
at ai.h2o.automl.AutoML.run(AutoML.java:407)
at ai.h2o.automl.H2OJob$1.compute2(H2OJob.java:33)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1563)
at jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
我有一种预感,如果我为training_frame
和leaderboard_frame
使用相同的数据输入,则会发生此错误。如果还有其他我可以分享的内容,可以帮助您了解此问题,请告诉我!谢谢。