diff options
Diffstat (limited to 'python/examples/logistic_regression.py')
-rwxr-xr-x | python/examples/logistic_regression.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/examples/logistic_regression.py b/python/examples/logistic_regression.py index 1117dea538..28d52e6a40 100755 --- a/python/examples/logistic_regression.py +++ b/python/examples/logistic_regression.py @@ -16,9 +16,13 @@ # """ -A logistic regression implementation that uses NumPy (http://www.numpy.org) to act on batches -of input data using efficient matrix operations. +A logistic regression implementation that uses NumPy (http://www.numpy.org) +to act on batches of input data using efficient matrix operations. + +In practice, one may prefer to use the LogisticRegression algorithm in +MLlib, as shown in python/examples/mllib/logistic_regression.py. """ + from collections import namedtuple from math import exp from os.path import realpath |