Skip to content

Commit 9702349

Browse files
committed
Fix error in documentation.
1 parent ad4b3b8 commit 9702349

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scikits/learn/linear_model/ridge.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Ridge(LinearModel):
2626
alpha : float
2727
Small positive values of alpha improve the conditioning of the
2828
problem and reduce the variance of the estimates.
29-
Alpha corresponds to (1/2*C) in other linear models such as
29+
Alpha corresponds to (2*C)^-1 in other linear models such as
3030
LogisticRegression or LinearSVC.
3131
3232
fit_intercept : boolean
@@ -151,7 +151,7 @@ class RidgeClassifier(Ridge):
151151
alpha : float
152152
Small positive values of alpha improve the conditioning of the
153153
problem and reduce the variance of the estimates.
154-
Alpha corresponds to (1/2*C) in other linear models such as
154+
Alpha corresponds to (2*C)^-1 in other linear models such as
155155
LogisticRegression or LinearSVC.
156156
157157
fit_intercept : boolean
@@ -351,7 +351,7 @@ class RidgeCV(LinearModel):
351351
Array of alpha values to try.
352352
Small positive values of alpha improve the conditioning of the
353353
problem and reduce the variance of the estimates.
354-
Alpha corresponds to (1/2*C) in other linear models such as
354+
Alpha corresponds to (2*C)^-1 in other linear models such as
355355
LogisticRegression or LinearSVC.
356356
357357
fit_intercept : boolean

0 commit comments

Comments
 (0)