diff --git a/sklearn/linear_model/_base.py b/sklearn/linear_model/_base.py index 8b5102ecdd403..6b94d6ecc4e49 100644 --- a/sklearn/linear_model/_base.py +++ b/sklearn/linear_model/_base.py @@ -536,10 +536,11 @@ class LinearRegression(MultiOutputMixin, RegressorMixin, LinearModel): n_jobs : int, default=None The number of jobs to use for the computation. This will only provide - speedup for n_targets > 1 and sufficient large problems. - ``None`` means 1 unless in a :obj:`joblib.parallel_backend` context. - ``-1`` means using all processors. See :term:`Glossary ` - for more details. + speedup in case of sufficiently large problems, that is if firstly + `n_targets > 1` and secondly `X` is sparse or if `positive` is set + to `True`. ``None`` means 1 unless in a + :obj:`joblib.parallel_backend` context. ``-1`` means using all + processors. See :term:`Glossary ` for more details. positive : bool, default=False When set to ``True``, forces the coefficients to be positive. This