Skip to content

Commit e9e9480

Browse files
committed
DOC add missing comment for C parameter
1 parent da78718 commit e9e9480

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sklearn/linear_model/sgd_fast.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ def plain_sgd(np.ndarray[double, ndim=1, mode='c'] weights,
352352
The penalty 2 for L2, 1 for L1, and 3 for Elastic-Net.
353353
alpha : float
354354
The regularization parameter.
355+
C : float
356+
Maximum step size for passive aggressive.
355357
l1_ratio : float
356358
The Elastic Net mixing parameter, with 0 <= l1_ratio <= 1.
357359
l1_ratio=0 corresponds to L2 penalty, l1_ratio=1 to L1.

0 commit comments

Comments
 (0)