java.lang.ArrayIndexOutOfBoundsException: 5

Stack Overflow | vishalk | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MLLib Scala ArrayIndexOutOfBoundException when MaxBins >= maximum num of categories

    Stack Overflow | 8 months ago | vishalk
    java.lang.ArrayIndexOutOfBoundsException: 5

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      5

      at org.apache.spark.mllib.tree.impl.DecisionTreeMetadata$$anonfun$buildMetadata$4.apply()
    2. Spark Project ML Library
      DecisionTreeMetadata$$anonfun$buildMetadata$4.apply
      1. org.apache.spark.mllib.tree.impl.DecisionTreeMetadata$$anonfun$buildMetadata$4.apply(DecisionTreeMetadata.scala:167)
      2. org.apache.spark.mllib.tree.impl.DecisionTreeMetadata$$anonfun$buildMetadata$4.apply(DecisionTreeMetadata.scala:164)
      2 frames
    3. Scala
      HashMap$HashMap1.foreach
      1. scala.collection.immutable.HashMap$HashMap1.foreach(HashMap.scala:224)
      1 frame