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