java.lang.ArrayIndexOutOfBoundsException: 0at edu.emory.mathcs.nlp.learning.optimization.OnlineOptimizer.getPredictedLabelHingeLoss(OnlineOptimizer.java:239)

GitHub | ShafeenaBasheer | 11 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ArrayIndexOutOfBoundException in NER Training

    GitHub | 11 months ago | ShafeenaBasheer
    java.lang.ArrayIndexOutOfBoundsException: 0at edu.emory.mathcs.nlp.learning.optimization.OnlineOptimizer.getPredictedLabelHingeLoss(OnlineOptimizer.java:239)

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0at edu.emory.mathcs.nlp.learning.optimization.OnlineOptimizer.getPredictedLabelHingeLoss(OnlineOptimizer.java:239)

      at edu.emory.mathcs.nlp.learning.optimization.method.AdaGradMiniBatch.getPredictedLabel()
    2. edu.emory.mathcs
      NLPTrain.main
      1. edu.emory.mathcs.nlp.learning.optimization.method.AdaGradMiniBatch.getPredictedLabel(AdaGradMiniBatch.java:50)
      2. edu.emory.mathcs.nlp.learning.optimization.OnlineOptimizer.train(OnlineOptimizer.java:176)
      3. edu.emory.mathcs.nlp.learning.optimization.OnlineOptimizer.train(OnlineOptimizer.java:167)
      4. edu.emory.mathcs.nlp.component.template.OnlineComponent.process(OnlineComponent.java:201)
      5. edu.emory.mathcs.nlp.component.template.OnlineComponent.process(OnlineComponent.java:173)
      6. edu.emory.mathcs.nlp.component.template.train.OnlineTrainer.iterate(OnlineTrainer.java:299)
      7. edu.emory.mathcs.nlp.component.template.train.OnlineTrainer.train(OnlineTrainer.java:229)
      8. edu.emory.mathcs.nlp.component.template.train.OnlineTrainer.train(OnlineTrainer.java:200)
      9. edu.emory.mathcs.nlp.component.template.train.OnlineTrainer.train(OnlineTrainer.java:187)
      10. edu.emory.mathcs.nlp.bin.NLPTrain.train(NLPTrain.java:77)
      11. edu.emory.mathcs.nlp.bin.NLPTrain.main(NLPTrain.java:117)
      11 frames