ml.dmlc.xgboost4j.java.XGBoostError: [14:43:22] src/metric/elementwise_metric.cc:28: Check failed: (preds.size()) == (info.labels.size()) label and prediction size not match, hint: use merror or mlogloss for multi-class classification

GitHub | geoHeil | 2 months ago
  1. 0

    xgboost 4j spark test failure version v0.6.0

    GitHub | 2 months ago | geoHeil
    ml.dmlc.xgboost4j.java.XGBoostError: [14:43:22] src/metric/elementwise_metric.cc:28: Check failed: (preds.size()) == (info.labels.size()) label and prediction size not match, hint: use merror or mlogloss for multi-class classification
  2. 0

    GitHub comment 1702#256567113

    GitHub | 1 month ago | greghor
    ml.dmlc.xgboost4j.java.XGBoostError: [09:25:39] src/io/local_filesys.cc:86: LocalFileSystem.ListDirectory ../../demo/data error: No such file or directory
  3. 0

    [jvm-packages]Check failed: ModelInitialized() Always call InitModel or LoadModel before update

    GitHub | 7 months ago | futurecam
    ml.dmlc.xgboost4j.java.XGBoostError: [21:23:06] src/learner.cc:283: Check failed: ModelInitialized() Always call InitModel or LoadModel before update
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 966#197385951

    GitHub | 9 months ago | astrude
    ml.dmlc.xgboost4j.java.XGBoostError: XGBoostModel training failed
  6. 0

    [jvm-packages] xgboost training fails on spark

    GitHub | 3 months ago | xinghaihu
    ml.dmlc.xgboost4j.java.XGBoostError: XGBoostModel training failed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. ml.dmlc.xgboost4j.java.XGBoostError

      [14:43:22] src/metric/elementwise_metric.cc:28: Check failed: (preds.size()) == (info.labels.size()) label and prediction size not match, hint: use merror or mlogloss for multi-class classification

      at ml.dmlc.xgboost4j.java.JNIErrorHandle.checkCall()
    2. ml.dmlc.xgboost4j
      XGBoostModel$$anonfun$1.apply
      1. ml.dmlc.xgboost4j.java.JNIErrorHandle.checkCall(JNIErrorHandle.java:48)
      2. ml.dmlc.xgboost4j.java.Booster.evalSet(Booster.java:178)
      3. ml.dmlc.xgboost4j.scala.Booster.evalSet(Booster.scala:97)
      4. ml.dmlc.xgboost4j.scala.spark.XGBoostModel$$anonfun$1.apply(XGBoostModel.scala:80)
      5. ml.dmlc.xgboost4j.scala.spark.XGBoostModel$$anonfun$1.apply(XGBoostModel.scala:62)
      5 frames
    3. Spark
      RDD.iterator
      1. org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$23.apply(RDD.scala:766)
      2. org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$23.apply(RDD.scala:766)
      3. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      4. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:319)
      5. org.apache.spark.rdd.RDD.iterator(RDD.scala:283)
      5 frames