8000 DOC Fix output shape in doc for OrthogonalMatchingPursuit (#8091) · sergeyf/scikit-learn@8ad37df · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ad37df

Browse files
weijianzzsergeyf
authored andcommitted
DOC Fix output shape in doc for OrthogonalMatchingPursuit (scikit-learn#8091)
1 parent 8c18348 commit 8ad37df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/linear_model/omp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ class OrthogonalMatchingPursuit(LinearModel, RegressorMixin):
577577
578578
Attributes
579579
----------
580-
coef_ : array, shape (n_features,) or (n_features, n_targets)
580+
coef_ : array, shape (n_features,) or (n_targets, n_features)
581581
parameter vector (w in the formula)
582582
583583
intercept_ : float or array, shape (n_targets,)
@@ -804,7 +804,7 @@ class OrthogonalMatchingPursuitCV(LinearModel, RegressorMixin):
804804
intercept_ : float or array, shape (n_targets,)
805805
Independent term in decision function.
806806
807-
coef_ : array, shape (n_features,) or (n_features, n_targets)
807+
coef_ : array, shape (n_features,) or (n_targets, n_features)
808808
Parameter vector (w in the problem formulation).
809809
810810
n_nonzero_coefs_ : int

0 commit comments

Comments
 (0)
0