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

ALS performs unnecessary casting on item and user ids

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.0.1, 2.1.0
    • 2.2.0
    • ML
    • None

    Description

      The ALS is performing unnecessary casting to the user and item ids (to double). I believe this is because the protected checkedCast() method requires a double input. This can be avoided by refactroing the code of checkedCast method.

      Issue resolved by pull-request 17059:
      https://github.com/apache/spark/pull/17059

      Attachments

        Activity

          People

            datumbox Vasilis Vryniotis
            datumbox Vasilis Vryniotis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: