Skip to content

Commit

Permalink
[SPARK-12630] Fixed 'Allowed values' formatting of reg param to get r…
Browse files Browse the repository at this point in the history
…id of Sphinx warnings
  • Loading branch information
BryanCutler committed Feb 12, 2016
1 parent bf8f8a0 commit 91dc609
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions python/pyspark/mllib/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,11 @@ def train(cls, data, iterations=100, step=1.0, miniBatchFraction=1.0,
(default: 0.01)
:param regType:
The type of regularizer used for training our model.
:Allowed values:
Allowed values:
- "l1" for using L1 regularization
- "l2" for using L2 regularization
- "l2" for using L2 regularization (default)
- None for no regularization
(default: "l2")
:param intercept:
Boolean parameter which indicates the use or not of the
augmented representation for training data (i.e., whether bias
Expand Down Expand Up @@ -344,11 +344,11 @@ def train(cls, data, iterations=100, initialWeights=None, regParam=0.01, regType
(default: 0.01)
:param regType:
The type of regularizer used for training our model.
:Allowed values:
Allowed values:
- "l1" for using L1 regularization
- "l2" for using L2 regularization
- "l2" for using L2 regularization (default)
- None for no regularization
(default: "l2")
:param intercept:
Boolean parameter which indicates the use or not of the
augmented representation for training data (i.e., whether bias
Expand Down Expand Up @@ -524,11 +524,11 @@ def train(cls, data, iterations=100, step=1.0, regParam=0.01,
(default: None)
:param regType:
The type of regularizer used for training our model.
:Allowed values:
Allowed values:
- "l1" for using L1 regularization
- "l2" for using L2 regularization
- "l2" for using L2 regularization (default)
- None for no regularization
(default: "l2")
:param intercept:
Boolean parameter which indicates the use or not of the
augmented representation for training data (i.e. whether bias
Expand Down

0 comments on commit 91dc609

Please sign in to comment.