Skip to content

Commit 91f80b1

Browse files
committed
Docstring edits from suggestions
1 parent 9f0a99e commit 91f80b1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/skmatter/decomposition/_pcovc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ class PCovC(LinearClassifierMixin, _BasePCov):
145145
146146
space: {'feature', 'sample', 'auto'}, default='auto'
147147
whether to compute the PCovC in `sample` or `feature` space.
148-
Default = `sample` when :math:`{n_{samples} < n_{features}}` and
149-
`feature` when :math:`{n_{features} < n_{samples}}`
148+
The default is = `sample` when :math:`{n_{samples} < n_{features}}`
149+
and `feature` when :math:`{n_{features} < n_{samples}}`
150150
151151
n_components_ : int
152152
The estimated number of components, which equals the parameter

src/skmatter/decomposition/_pcovr.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ class PCovR(RegressorMixin, MultiOutputMixin, _BasePCov):
8888
range [0.0, infinity).
8989
9090
space: {'feature', 'sample', 'auto'}, default='auto'
91-
whether to compute the PCovR in `sample` or `feature` space. Default = `sample`
92-
when :math:`{n_{samples} < n_{features}}` and `feature` when
93-
:math:`{n_{features} < n_{samples}}`
91+
whether to compute the PCovR in `sample` or `feature` space.
92+
The default is = `sample` when :math:`{n_{samples} < n_{features}}`
93+
and `feature` when :math:`{n_{features} < n_{samples}}`
9494
9595
regressor: {`Ridge`, `RidgeCV`, `LinearRegression`, `precomputed`}, default=None
9696
regressor for computing approximated :math:`{\mathbf{\hat{Y}}}`. The regressor

0 commit comments

Comments
 (0)