Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12685

word2vec trainWordsCount gets overflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.0
    • 1.4.2, 1.5.3, 1.6.1, 2.0.0
    • MLlib
    • None

    Description

      the log of word2vec reports
      trainWordsCount = -785727483
      during computation over a large dataset.

      I'll also add vocabsize to the log.

      Update the priority as it will affects the computation process.
      alpha =
      learningRate * (1 - numPartitions * wordCount.toDouble / (trainWordsCount + 1))

      Attachments

        Activity

          People

            yuhaoyan yuhao yang
            yuhaoyan yuhao yang
            Joseph K. Bradley Joseph K. Bradley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: