diff --git a/sklearn/feature_selection/_univariate_selection.py b/sklearn/feature_selection/_univariate_selection.py index bf9eacb1774f9..137b196e10129 100644 --- a/sklearn/feature_selection/_univariate_selection.py +++ b/sklearn/feature_selection/_univariate_selection.py @@ -287,7 +287,7 @@ def r_regression(X, y, *, center=True, force_finite=True): See Also -------- f_regression: Univariate linear regression tests returning f-statistic - and p-values + and p-values. mutual_info_regression: Mutual information for a continuous target. f_classif: ANOVA F-value between label/feature for classification tasks. chi2: Chi-squared stats of non-negative features for classification tasks. diff --git a/sklearn/tests/test_docstrings.py b/sklearn/tests/test_docstrings.py index 1e5397058e70c..48a316b93c613 100644 --- a/sklearn/tests/test_docstrings.py +++ b/sklearn/tests/test_docstrings.py @@ -45,7 +45,6 @@ "sklearn.feature_extraction.text.strip_tags", "sklearn.feature_selection._univariate_selection.chi2", "sklearn.feature_selection._univariate_selection.f_oneway", - "sklearn.feature_selection._univariate_selection.r_regression", "sklearn.inspection._partial_dependence.partial_dependence", "sklearn.inspection._plot.partial_dependence.plot_partial_dependence", "sklearn.linear_model._least_angle.lars_path_gram",