java.lang.ArrayIndexOutOfBoundsException: 5

Stack Overflow | vishalk | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MLLib Scala ArrayIndexOutOfBoundException when MaxBins >= maximum num of categories

    Stack Overflow | 10 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