Skip to content

Commit 87aaabc

Browse files
committed
DOC backticks in attribute docstrings unnecessaru since scikit-learn#3489
1 parent 95c9e14 commit 87aaabc

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

sklearn/calibration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,10 @@ class _SigmoidCalibration(BaseEstimator, RegressorMixin):
428428
429429
Attributes
430430
----------
431-
`a_` : float
431+
a_ : float
432432
The slope.
433433
434-
`b_` : float
434+
b_ : float
435435
The intercept.
436436
"""
437437
def fit(self, X, y, sample_weight=None):
@@ -470,7 +470,7 @@ def predict(self, T):
470470
471471
Returns
472472
-------
473-
`T_` : array, shape (n_samples,)
473+
T_ : array, shape (n_samples,)
474474
The predicted data.
475475
"""
476476
T = column_or_1d(T)

sklearn/dummy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class DummyClassifier(BaseEstimator, ClassifierMixin):
6666
outputs_2d_ : bool,
6767
True if the output at fit is 2d, else false.
6868
69-
`sparse_output_` : bool,
69+
sparse_output_ : bool,
7070
True if the array returned from predict is to be in sparse CSC format.
7171
Is automatically set to True if the input y is passed in sparse format.
7272

sklearn/linear_model/stochastic_gradient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,10 +1203,10 @@ class SGDRegressor(BaseSGDRegressor, _LearntSelectorMixin):
12031203
intercept_ : array, shape (1,)
12041204
The intercept term.
12051205
1206-
`average_coef_` : array, shape (n_features,)
1206+
average_coef_ : array, shape (n_features,)
12071207
Averaged weights assigned to the features.
12081208
1209-
`average_intercept_` : array, shape (1,)
1209+
average_intercept_ : array, shape (1,)
12101210
The averaged intercept term.
12111211
12121212
Examples

sklearn/linear_model/theil_sen.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,16 @@ class TheilSenRegressor(LinearModel, RegressorMixin):
255255
256256
Attributes
257257
----------
258-
`coef_` : array, shape = (n_features)
258+
coef_ : array, shape = (n_features)
259259
Coefficients of the regression model (median of distribution).
260260
261-
`intercept_` : float
261+
intercept_ : float
262262
Estimated intercept of regression model.
263263
264-
`breakdown_` : float
264+
breakdown_ : float
265265
Approximated breakdown point.
266266
267-
`n_iter_` : int
267+
n_iter_ : int
268268
Number of iterations needed for the spatial median.
269269
270270
n_subpopulation_ : int

sklearn/preprocessing/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,10 @@ class RobustScaler(BaseEstimator, TransformerMixin):
478478
479479
Attributes
480480
----------
481-
`center_` : array of floats
481+
center_ : array of floats
482482
The median value for each feature in the training set.
483483
484-
`scale_` : array of floats
484+
scale_ : array of floats
485485
The (scaled) interquartile range for each feature in the training set.
486486
487487
See also

0 commit comments

Comments
 (0)