8000 Update ridge.py · scikit-learn/scikit-learn@fa2272f · GitHub
[go: up one dir, main page]

Skip to content

Commit fa2272f

Browse files
authored
Update ridge.py
boolean -> bool
1 parent a62bdf1 commit fa2272f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/linear_model/ridge.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,21 +328,21 @@ def ridge_regression(X, y, alpha, sample_weight=None, solver='auto',
328328
generator; If None, the random number generator is the RandomState
329329
instance used by `np.random`. Used when ``solver`` == 'sag'.
330330
331-
return_n_iter : boolean, default=False
331+
return_n_iter : bool, default=False
332332
If True, the method also returns `n_iter`, the actual number of
333333
iteration performed by the solver.
334334
335335
.. versionadded:: 0.17
336336
337-
return_intercept : boolean, default=False
337+
return_intercept : bool, default=False
338338
If True and if X is sparse, the method also returns the intercept,
339339
and the solver is automatically changed to 'sag'. This is only a
340340
temporary fix for fitting the intercept with sparse data. For dense
341341
data, use sklearn.linear_model._preprocess_data before your regression.
342342
343343
.. versionadded:: 0.17
344344
345-
check_input : boolean, default=True
345+
check_input : bool, default=True
346346
If False, the input arrays X and y will not be checked.
347347
348348
.. versionadded:: 0.21

0 commit comments

Comments
 (0)
0