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

word2vec trainWordsCount gets overflow

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.4.2, 1.5.3, 1.6.1, 2.0.0
    • Component/s: MLlib
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: