|
@@ -34,7 +34,7 @@ else:
|
|
# from typing_extensions import *
|
|
# from typing_extensions import *
|
|
print("I have python version {}.{} and will import typing_extensions".format(sys.version_info.major, sys.version_info.minor))
|
|
print("I have python version {}.{} and will import typing_extensions".format(sys.version_info.major, sys.version_info.minor))
|
|
from typing_extensions import Callable, TypedDict,\
|
|
from typing_extensions import Callable, TypedDict,\
|
|
- Literal, Iterable, Tuple, Union
|
|
|
|
|
|
+ Literal, Tuple, Union
|
|
|
|
|
|
import functools
|
|
import functools
|
|
from sklearn.pipeline import Pipeline
|
|
from sklearn.pipeline import Pipeline
|
|
@@ -336,7 +336,8 @@ class PipelineSelector(ABC):
|
|
= None,
|
|
= None,
|
|
y_val: Union[pd.DataFrame, pd.Series, np.ndarray]
|
|
y_val: Union[pd.DataFrame, pd.Series, np.ndarray]
|
|
= None,
|
|
= None,
|
|
- cv: Union[Iterable[Tuple[List[int], List[int]]]]
|
|
|
|
|
|
+ # cv: Union[Iterable[Tuple[List[int], List[int]]]]
|
|
|
|
+ cv
|
|
= None) -> None:
|
|
= None) -> None:
|
|
'''
|
|
'''
|
|
:param array X_train: data on which
|
|
:param array X_train: data on which
|