Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/5137#discussion_r27424669
--- Diff: python/pyspark/mllib/classification.py ---
@@ -223,6 +284,12 @@ def train(cls, data, iterations=100,
initialWeights=None, regParam=0.01, regType
update (default: 10).
:param tolerance: The convergence tolerance of iterations for
L-BFGS (default: 1e-4).
+ :param validateData: Boolean parameter which indicates if the
+ algorithm should validate data before
training.
+ (default: True)
+ :param numClasses: The number of possible outcomes for k
classes
--- End diff --
Better phrasing: "The number of possible outcomes for k classes
classification problem"
-->
"The number of classes (i.e., outcomes) a label can take"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]