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

Jeff Zhang updated SPARK-11747:
-------------------------------
    Description: 
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}


  was:
Not sure why it is hard coded, it would be nice to allow to 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}



> 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
>            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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to