8000 DOC backticks around X and y in linear_model.rst (#26929) · scikit-learn/scikit-learn@dc9d0eb · GitHub
[go: up one dir, main page]

Skip to content

Commit dc9d0eb

Browse files
DOC backticks around X and y in linear_model.rst (#26929)
1 parent 2b0eef8 commit dc9d0eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/modules/linear_model.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ solves a problem of the form:
3737
:align: center
3838
:scale: 50%
3939

40-
:class:`LinearRegression` will take in its ``fit`` method arrays X, y
40+
:class:`LinearRegression` will take in its ``fit`` method arrays ``X``, ``y``
4141
and will store the coefficients :math:`w` of the linear model in its
4242
``coef_`` member::
4343

@@ -114,7 +114,7 @@ of shrinkage and thus the coefficients become more robust to collinearity.
114114

115115

116116
As with other linear models, :class:`Ridge` will take in its ``fit`` method
117-
arrays X, y and will store the coefficients :math:`w` of the linear model in
117+
arrays ``X``, ``y`` and will store the coefficients :math:`w` of the linear model in
118118
its ``coef_`` member::
119119

120120
>>> from sklearn import linear_model

0 commit comments

Comments
 (0)
0