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

Accept Dataset[_] instead of DataFrame in MLlib APIs

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: ML
    • Labels:
      None
    • Target Version/s:

      Description

      In Spark 2.0, `DataFrame` is an alias of `Dataset[Row]`. MLlib API actually works for other types of `Dataset`, so we should accept `Dataset[_]` instead. It maps to `Dataset<?>` in Java. This is a source compatible change.

        Attachments

          Activity

            People

            • Assignee:
              mengxr Xiangrui Meng
              Reporter:
              mengxr Xiangrui Meng
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: