spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Sasaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-10117) Implement SQL data source API for reading LIBSVM data
Date Tue, 25 Aug 2015 12:32:45 GMT

    [ https://issues.apache.org/jira/browse/SPARK-10117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711186#comment-14711186
] 

Kai Sasaki commented on SPARK-10117:
------------------------------------

[~mengxr] If possible, can I work on this JIRA? Thank you!

> Implement SQL data source API for reading LIBSVM data
> -----------------------------------------------------
>
>                 Key: SPARK-10117
>                 URL: https://issues.apache.org/jira/browse/SPARK-10117
>             Project: Spark
>          Issue Type: New Feature
>          Components: ML
>            Reporter: Xiangrui Meng
>
> It is convenient to implement data source API for LIBSVM format to have a better integration
with DataFrames and ML pipeline API.
> {code}
> import org.apache.spark.ml.source.libsvm._
> val training = sqlContext.read
>   .format("libsvm")
>   .option("numFeatures", "10000")
>   .load("path")
> {code}
> This JIRA covers the following:
> 1. Read LIBSVM data as a DataFrame with two columns: label: Double and features: Vector.
> 2. Accept `numFeatures` as an option.
> 3. The implementation should live under `org.apache.spark.ml.source.libsvm`.



--
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


Mime
View raw message