diff options
Diffstat (limited to 'docs/mllib-linear-methods.md')
-rw-r--r-- | docs/mllib-linear-methods.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/mllib-linear-methods.md b/docs/mllib-linear-methods.md index 3085539b40..034e89e250 100644 --- a/docs/mllib-linear-methods.md +++ b/docs/mllib-linear-methods.md @@ -222,7 +222,7 @@ svmAlg.optimizer() .setNumIterations(200) .setRegParam(0.1) .setUpdater(new L1Updater()); -final SVMModel modelL1 = svmAlg.run(training.rdd()); +SVMModel modelL1 = svmAlg.run(training.rdd()); {% endhighlight %} In order to run the above application, follow the instructions |