pythonh2oxgboostxgbclassifier

H2O-3 Flow(UI) and XGBoost


I get the error below when I select to run XGBOOST via the menu in H2O-3 flow UI or when I include it when running all architectures (also via the "AutoML" options in H2O-3 flow). I only select the train + validation frames + response column and the click "build model".

Btw: I have set the following 2 enviroment variables:

Name: JRE_HOME + JAVA_HOME
Value: C:\Program Files\Java\jre1.8.0_211

I'm running Windows 10

java.lang.UnsatisfiedLinkError: ml.dmlc.xgboost4j.java.XGBoostJNI.XGDMatrixCreateFromMat([FIIF[J)I

10-24 21:05:31.201 192.168.0.126:54321 30544 FJ-1-7 INFO: Rebalancing train dataset into 8 chunks.
10-24 21:05:31.208 192.168.0.126:54321 30544 FJ-1-7 INFO: Completing model xgboost-ca6b679e-bed4-41a0-9129-9a28f38c8cc5
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: java.lang.UnsatisfiedLinkError: ml.dmlc.xgboost4j.java.XGBoostJNI.XGDMatrixCreateFromMat([FIIF[J)I
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at ml.dmlc.xgboost4j.java.XGBoostJNI.XGDMatrixCreateFromMat(Native Method)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at ml.dmlc.xgboost4j.java.DMatrix.(DMatrix.java:183)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at hex.tree.xgboost.XGBoost.hasGPU_impl(XGBoost.java:600)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at hex.tree.xgboost.XGBoost.hasGPU(XGBoost.java:581)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at hex.tree.xgboost.XGBoost.access$000(XGBoost.java:32)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at hex.tree.xgboost.XGBoost$XGBoostDriver.buildModel(XGBoost.java:242)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at hex.tree.xgboost.XGBoost$XGBoostDriver.computeImpl(XGBoost.java:237)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:222)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at water.H2O$H2OCountedCompleter.compute(H2O.java:1417)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
10-24 21:05:31.209 192.168.0.126:54321 30544 FJ-1-7 ERRR: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

Solution

  • I guess you are facing this error because:-

    H2o xgboost is not currently supported in Windows.

    enter image description here