@@ -298,7 +298,9 @@ def fit( # noqa: C901
298
298
See `pytorch_widedeep.preprocessing.WidePreprocessor`
299
299
X_tab: np.ndarray, Optional. default=None
300
300
Input for the `deeptabular` model component.
301
- See `pytorch_widedeep.preprocessing.TabPreprocessor`
301
+ See `pytorch_widedeep.preprocessing.TabPreprocessor`. If multiple
302
+ tabular models are used for different columns, this should be a
303
+ list of numpy arrays
302
304
X_text: Union[np.ndarray, List[np.ndarray]], Optional. default=None
303
305
Input for the `deeptext` model component.
304
306
See `pytorch_widedeep.preprocessing.TextPreprocessor`.
@@ -547,13 +549,13 @@ def predict( # type: ignore[override, return]
547
549
X_wide: np.ndarray, Optional. default=None
548
550
Input for the `wide` model component.
549
551
See `pytorch_widedeep.preprocessing.WidePreprocessor`
550
- X_tab: np.ndarray, Optional. default=None
552
+ X_tab: np.ndarray or List[np.ndarray] , Optional. default=None
551
553
Input for the `deeptabular` model component.
552
554
See `pytorch_widedeep.preprocessing.TabPreprocessor`
553
- X_text: np.ndarray, Optional. default=None
555
+ X_text: np.ndarray or List[np.ndarray] , Optional. default=None
554
556
Input for the `deeptext` model component.
555
557
See `pytorch_widedeep.preprocessing.TextPreprocessor`
556
- X_img: np.ndarray, Optional. default=None
558
+ X_img: np.ndarray or List[np.ndarray] , Optional. default=None
557
559
Input for the `deepimage` model component.
558
560
See `pytorch_widedeep.preprocessing.ImagePreprocessor`
559
561
X_test: Dict, Optional. default=None
@@ -606,13 +608,13 @@ def predict_uncertainty( # type: ignore[return]
606
608
X_wide: np.ndarray, Optional. default=None
607
609
Input for the `wide` model component.
608
610
See `pytorch_widedeep.preprocessing.WidePreprocessor`
609
- X_tab: np.ndarray, Optional. default=None
611
+ X_tab: np.ndarray or List[np.ndarray] , Optional. default=None
610
612
Input for the `deeptabular` model component.
611
613
See `pytorch_widedeep.preprocessing.TabPreprocessor`
612
- X_text: np.ndarray, Optional. default=None
614
+ X_text: np.ndarray or List[np.ndarray] , Optional. default=None
613
615
Input for the `deeptext` model component.
614
616
See `pytorch_widedeep.preprocessing.TextPreprocessor`
615
- X_img: np.ndarray, Optional. default=None
617
+ X_img: np.ndarray or List[np.ndarray] , Optional. default=None
616
618
Input for the `deepimage` model component.
617
619
See `pytorch_widedeep.preprocessing.ImagePreprocessor`
618
620
X_test: Dict, Optional. default=None
@@ -700,13 +702,13 @@ def predict_proba( # type: ignore[override, return] # noqa: C901
700
702
X_wide: np.ndarray, Optional. default=None
701
703
Input for the `wide` model component.
702
704
See `pytorch_widedeep.preprocessing.WidePreprocessor`
703
- X_tab: np.ndarray, Optional. default=None
705
+ X_tab: np.ndarray or List[np.ndarray] , Optional. default=None
704
706
Input for the `deeptabular` model component.
705
707
See `pytorch_widedeep.preprocessing.TabPreprocessor`
706
- X_text: np.ndarray, Optional. default=None
708
+ X_text: np.ndarray or List[np.ndarray] , Optional. default=None
707
709
Input for the `deeptext` model component.
708
710
See `pytorch_widedeep.preprocessing.TextPreprocessor`
709
- X_img: np.ndarray, Optional. default=None
711
+ X_img: np.ndarray or List[np.ndarray] , Optional. default=None
710
712
Input for the `deepimage` model component.
711
713
See `pytorch_widedeep.preprocessing.ImagePreprocessor`
712
714
X_test: Dict, Optional. default=None
0 commit comments