Skip to content

Commit

Permalink
[SPARK-7522] [EXAMPLES] Removed angle brackets from dataFormat option
Browse files Browse the repository at this point in the history
Applying this fix to branch 1.3, mengxr

Author: Bryan Cutler <bjcutler@us.ibm.com>

Closes #6111 from BryanCutler/dataFormat-option-1_3-7522 and squashes the following commits:

1a4c814 [Bryan Cutler] [SPARK-7522] Removed angle brackets from dataFormat option

(cherry picked from commit 9445814)
Signed-off-by: Sean Owen <sowen@cloudera.com>
  • Loading branch information
BryanCutler authored and srowen committed May 13, 2015
1 parent d3b7a8b commit 8073ed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,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>")
Expand Down

0 comments on commit 8073ed7

Please sign in to comment.