Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c39dd3

Browse filesBrowse files
authored
DOC enet_path docstring: fix sub/superscript swap (#19493)
1 parent e9c6fca commit 0c39dd3
Copy full SHA for 0c39dd3

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎sklearn/linear_model/_coordinate_descent.py

Copy file name to clipboardExpand all lines: sklearn/linear_model/_coordinate_descent.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def enet_path(X, y, *, l1_ratio=0.5, eps=1e-3, n_alphas=100, alphas=None,
332332
333333
For multi-output tasks it is::
334334
335-
(1 / (2 * n_samples)) * ||Y - XW||^Fro_2
335+
(1 / (2 * n_samples)) * ||Y - XW||_Fro^2
336336
+ alpha * l1_ratio * ||W||_21
337337
+ 0.5 * alpha * (1 - l1_ratio) * ||W||_Fro^2
338338

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.