Zheng RuiFeng
authored
## What changes were proposed in this pull request? MLlib are not recommended to use, and some methods are even deprecated. Update the warning message to recommend ML usage. ``` def showWarning() { System.err.println( """WARN: This is a naive implementation of Logistic Regression and is given as an example! |Please use either org.apache.spark.mllib.classification.LogisticRegressionWithSGD or |org.apache.spark.mllib.classification.LogisticRegressionWithLBFGS |for more conventional use. """.stripMargin) } ``` To ``` def showWarning() { System.err.println( """WARN: This is a naive implementation of Logistic Regression and is given as an example! |Please use org.apache.spark.ml.classification.LogisticRegression |for more conventional use. """.stripMargin) } ``` ## How was this patch tested? local build Author: Zheng RuiFeng <ruifengz@foxmail.com> Closes #13190 from zhengruifeng/update_recd.
Name | Last commit | Last update |
---|---|---|
.. | ||
ml | ||
mllib | ||
streaming | ||
als.py | ||
avro_inputformat.py | ||
kmeans.py | ||
logistic_regression.py | ||
pagerank.py | ||
parquet_inputformat.py | ||
pi.py | ||
sort.py | ||
sql.py | ||
status_api_demo.py | ||
transitive_closure.py | ||
wordcount.py |