Skip to content

Commit 24f0a09

Browse files
committed
DOC Fix copy_X default in documentation
The code uses ``True`` as the default, but the documentation incorrectly stated that ``False`` was the default.
1 parent 8d78111 commit 24f0a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/linear_model/coordinate_descent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ class ElasticNet(LinearModel, RegressorMixin):
573573
max_iter : int, optional
574574
The maximum number of iterations
575575
576-
copy_X : boolean, optional, default False
576+
copy_X : boolean, optional, default True
577577
If ``True``, X will be copied; else, it may be overwritten.
578578
579579
tol: float, optional

0 commit comments

Comments
 (0)