Skip to content

Commit

Permalink
Address virya's notes
Browse files Browse the repository at this point in the history
  • Loading branch information
zero323 committed Nov 24, 2020
1 parent e86af30 commit ba6bd70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/pyspark/mllib/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class LogisticRegressionModel(LinearClassificationModel):
intercept : float
Intercept computed for this model. (Only used in Binary Logistic
Regression. In Multinomial Logistic Regression, the intercepts will
not bea single value, so the intercepts will be part of the
not be a single value, so the intercepts will be part of the
weights.)
numFeatures : int
The dimension of the features.
Expand Down Expand Up @@ -292,7 +292,7 @@ def train(cls, data, iterations=100, step=1.0, miniBatchFraction=1.0,
step : float, optional
The step parameter used in SGD.
(default: 1.0)
miniBatchFraction: float, optional
miniBatchFraction : float, optional
Fraction of data to be used for each SGD iteration.
(default: 1.0)
initialWeights : :py:class:`pyspark.mllib.linalg.Vector` or convertible, optional
Expand Down Expand Up @@ -552,7 +552,7 @@ def train(cls, data, iterations=100, step=1.0, regParam=0.01,
regParam : float, optional
The regularizer parameter.
(default: 0.01)
miniBatchFraction: float, optional
miniBatchFraction : float, optional
Fraction of data to be used for each SGD iteration.
(default: 1.0)
initialWeights : :py:class:`pyspark.mllib.linalg.Vector` or convertible, optional
Expand Down

0 comments on commit ba6bd70

Please sign in to comment.