[SPARK-7522] [EXAMPLES] Removed angle brackets from dataFormat option
As is, to specify this option on command line, you have to escape the angle brackets.
Author: Bryan Cutler <bjcutler@us.ibm.com>
Closes #6049 from BryanCutler/dataFormat-option-7522 and squashes the following commits:
b34afb4 [Bryan Cutler] [SPARK-7522] Removed angle brackets from dataFormat option
(cherry picked from commit 4f8a155192
)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
This commit is contained in:
parent
017f9fa674
commit
c234d788ff
|
@ -112,7 +112,7 @@ object DecisionTreeExample {
|
|||
.text(s"input path to test dataset. If given, option fracTest is ignored." +
|
||||
s" default: ${defaultParams.testInput}")
|
||||
.action((x, c) => c.copy(testInput = x))
|
||||
opt[String]("<dataFormat>")
|
||||
opt[String]("dataFormat")
|
||||
.text("data format: libsvm (default), dense (deprecated in Spark v1.1)")
|
||||
.action((x, c) => c.copy(dataFormat = x))
|
||||
arg[String]("<input>")
|
||||
|
|
|
@ -111,7 +111,7 @@ object GBTExample {
|
|||
.text(s"input path to test dataset. If given, option fracTest is ignored." +
|
||||
s" default: ${defaultParams.testInput}")
|
||||
.action((x, c) => c.copy(testInput = x))
|
||||
opt[String]("<dataFormat>")
|
||||
opt[String]("dataFormat")
|
||||
.text("data format: libsvm (default), dense (deprecated in Spark v1.1)")
|
||||
.action((x, c) => c.copy(dataFormat = x))
|
||||
arg[String]("<input>")
|
||||
|
|
|
@ -117,7 +117,7 @@ object RandomForestExample {
|
|||
.text(s"input path to test dataset. If given, option fracTest is ignored." +
|
||||
s" default: ${defaultParams.testInput}")
|
||||
.action((x, c) => c.copy(testInput = x))
|
||||
opt[String]("<dataFormat>")
|
||||
opt[String]("dataFormat")
|
||||
.text("data format: libsvm (default), dense (deprecated in Spark v1.1)")
|
||||
.action((x, c) => c.copy(dataFormat = x))
|
||||
arg[String]("<input>")
|
||||
|
|
|
@ -126,7 +126,7 @@ object DecisionTreeRunner {
|
|||
.text(s"input path to test dataset. If given, option fracTest is ignored." +
|
||||
s" default: ${defaultParams.testInput}")
|
||||
.action((x, c) => c.copy(testInput = x))
|
||||
opt[String]("<dataFormat>")
|
||||
opt[String]("dataFormat")
|
||||
.text("data format: libsvm (default), dense (deprecated in Spark v1.1)")
|
||||
.action((x, c) => c.copy(dataFormat = x))
|
||||
arg[String]("<input>")
|
||||
|
|
|
@ -69,7 +69,7 @@ object GradientBoostedTreesRunner {
|
|||
.text(s"input path to test dataset. If given, option fracTest is ignored." +
|
||||
s" default: ${defaultParams.testInput}")
|
||||
.action((x, c) => c.copy(testInput = x))
|
||||
opt[String]("<dataFormat>")
|
||||
opt[String]("dataFormat")
|
||||
.text("data format: libsvm (default), dense (deprecated in Spark v1.1)")
|
||||
.action((x, c) => c.copy(dataFormat = x))
|
||||
arg[String]("<input>")
|
||||
|
|
Loading…
Reference in a new issue