@@ -13,7 +13,6 @@ from scipy.sparse._coo import coo_matrix
1313from .._typing import ArrayLike , Float , Int , MatrixLike
1414from ..base import MultiOutputMixin , RegressorMixin
1515from ..model_selection import BaseCrossValidator , check_cv as check_cv
16- from ..model_selection ._split import BaseShuffleSplit
1716from ..utils import check_array as check_array , check_scalar as check_scalar
1817from ..utils ._param_validation import Interval as Interval , StrOptions as StrOptions
1918from ..utils .extmath import safe_sparse_dot as safe_sparse_dot
@@ -206,7 +205,7 @@ class LassoCV(RegressorMixin, LinearModelCV):
206205 max_iter : Int = 1000 ,
207206 tol : Float = 1e-4 ,
208207 copy_X : bool = True ,
209- cv : int | BaseCrossValidator | Iterable | None | BaseShuffleSplit = None ,
208+ cv : int | BaseCrossValidator | Iterable | None = None ,
210209 verbose : int | bool = False ,
211210 n_jobs : None | Int = None ,
212211 positive : bool = False ,
@@ -241,7 +240,7 @@ class ElasticNetCV(RegressorMixin, LinearModelCV):
241240 precompute : Literal ["auto" ] | MatrixLike | bool = "auto" ,
242241 max_iter : Int = 1000 ,
243242 tol : Float = 1e-4 ,
244- cv : int | BaseCrossValidator | Iterable | None | BaseShuffleSplit = None ,
243+ cv : int | BaseCrossValidator | Iterable | None = None ,
245244 copy_X : bool = True ,
246245 verbose : int | bool = 0 ,
247246 n_jobs : None | Int = None ,
@@ -333,7 +332,7 @@ class MultiTaskElasticNetCV(RegressorMixin, LinearModelCV):
333332 fit_intercept : bool = True ,
334333 max_iter : Int = 1000 ,
335334 tol : Float = 1e-4 ,
336- cv : int | BaseCrossValidator | Iterable | None | BaseShuffleSplit = None ,
335+ cv : int | BaseCrossValidator | Iterable | None = None ,
337336 copy_X : bool = True ,
338337 verbose : int | bool = 0 ,
339338 n_jobs : None | Int = None ,
@@ -370,7 +369,7 @@ class MultiTaskLassoCV(RegressorMixin, LinearModelCV):
370369 max_iter : Int = 1000 ,
371370 tol : Float = 1e-4 ,
372371 copy_X : bool = True ,
373- cv : int | BaseCrossValidator | Iterable | None | BaseShuffleSplit = None ,
372+ cv : int | BaseCrossValidator | Iterable | None = None ,
374373 verbose : int | bool = False ,
375374 n_jobs : None | Int = None ,
376375 random_state : RandomState | None | Int = None ,
0 commit comments