You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2016/04/11 18:29:25 UTC

[jira] [Resolved] (SPARK-14500) Accept Dataset[_] instead of DataFrame in MLlib APIs

     [ https://issues.apache.org/jira/browse/SPARK-14500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiangrui Meng resolved SPARK-14500.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 12274
[https://github.com/apache/spark/pull/12274]

> Accept Dataset[_] instead of DataFrame in MLlib APIs
> ----------------------------------------------------
>
>                 Key: SPARK-14500
>                 URL: https://issues.apache.org/jira/browse/SPARK-14500
>             Project: Spark
>          Issue Type: New Feature
>          Components: ML
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>             Fix For: 2.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org