spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph K. Bradley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-11747) Can not specify input path in python logistic_regression example under ml
Date Mon, 16 Nov 2015 22:42:11 GMT

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

Joseph K. Bradley commented on SPARK-11747:
-------------------------------------------

Although there are some examples which are essentially command-line scripts, most examples
are really meant to be copied and modified as needed.  We may need to wait on this, depending
on how testable example code refactoring happens: [SPARK-11337]

> Can not specify input path in python logistic_regression example under ml
> -------------------------------------------------------------------------
>
>                 Key: SPARK-11747
>                 URL: https://issues.apache.org/jira/browse/SPARK-11747
>             Project: Spark
>          Issue Type: Improvement
>          Components: Examples
>            Reporter: Jeff Zhang
>            Priority: Minor
>
> Not sure why it is hard coded, it would be nice to allow user to specify input path
> {code}
> # Load and parse the data file into a dataframe.
> df = MLUtils.loadLibSVMFile(sc, "data/mllib/sample_libsvm_data.txt").toDF()
> {code}



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