10BC0 fix lars Xy docs by adienes · Pull Request #25952 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

< 10BC0 summary data-ga-click="Pull Requests, open view comments menu, type:semantic" data-view-component="true" class="Link--muted select-menu-button btn-link"> Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sklearn/linear_model/_least_angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def lars_path(
y : None or array-like of shape (n_samples,)
Input targets.

Xy : array-like of shape (n_samples,) or (n_samples, n_targets), \
Xy : array-like of shape (n_features,) or (n_features, n_targets), \
default=None
`Xy = np.dot(X.T, y)` that can be precomputed. It is useful
only when the Gram matrix is precomputed.
Expand Down Expand Up @@ -215,7 +215,7 @@ def lars_path_gram(

Parameters
----------
Xy : array-like of shape (n_samples,) or (n_samples, n_targets)
Xy : array-like of shape (n_features,) or (n_features, n_targets)
Xy = np.dot(X.T, y).

Gram : array-like of shape (n_features, n_features)
Expand Down Expand Up @@ -362,7 +362,7 @@ def _lars_path_solver(
y : None or ndarray of shape (n_samples,)
Input targets.

Xy : array-like of shape (n_samples,) or (n_samples, n_targets), \
Xy : array-like of shape (n_features,) or (n_features, n_targets), \
default=None
`Xy = np.dot(X.T, y)` that can be precomputed. It is useful
only when the Gram matrix is precomputed.
Expand Down Expand Up @@ -1110,7 +1110,7 @@ def fit(self, X, y, Xy=None):
y : array-like of shape (n_samples,) or (n_samples, n_targets)
Target values.

Xy : array-like of shape (n_samples,) or (n_samples, n_targets), \
Xy : array-like of shape (n_features,) or (n_features, n_targets), \
default=None
Xy = np.dot(X.T, y) that can be precomputed. It is useful
only when the Gram matrix is precomputed.
Expand Down
0