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

ALS performs unnecessary casting on item and user ids

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: ML
    • Labels:
      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

        Issue Links

          Activity

          Hide
          apachespark Apache Spark added a comment -

          User 'datumbox' has created a pull request for this issue:
          https://github.com/apache/spark/pull/17059

          Show
          apachespark Apache Spark added a comment - User 'datumbox' has created a pull request for this issue: https://github.com/apache/spark/pull/17059
          Hide
          mlnick Nick Pentreath added a comment -

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

          Show
          mlnick Nick Pentreath added a comment - Issue resolved by pull request 17059 https://github.com/apache/spark/pull/17059

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development