8000 DOC: typo lar not lars (#28766) · patrickkwang/scikit-learn@f7026e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7026e5

Browse files
authored
DOC: typo lar not lars (scikit-learn#28766)
1 parent 30f4d9d commit f7026e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/linear_model/_least_angle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def lars_path_gram(
273273
274274
(1 / (2 * n_samples)) * ||y - Xw||^2_2 + alpha * ||w||_1
275275
276-
in the case of method='lars', the objective function is only known in
276+
in the case of method='lar', the objective function is only known in
277277
the form of an implicit equation (see discussion in [1])
278278
279279
Read more in the :ref:`User Guide <least_angle_regression>`.
@@ -432,7 +432,7 @@ def _lars_path_solver(
432432
433433
(1 / (2 * n_samples)) * ||y - Xw||^2_2 + alpha * ||w||_1
434434
435-
in the case of method='lars', the objective function is only known in
435+
in the case of method='lar', the objective function is only known in
436436
the form of an implicit equation (see discussion in [1])
437437
438438
Read more in the :ref:`User Guide <least_angle_regression>`.

0 commit comments

Comments
 (0)
0