소스 검색

fixed bug in cv composer

tanja 3 년 전
부모
커밋
8c0750989b
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      cdplib/ml_validation/CVComposer.py

+ 1 - 2
cdplib/ml_validation/CVComposer.py

@@ -56,8 +56,8 @@ class CVComposer:
     def dummy_cv_and_concatenated_data_set(
             self,
             X_train: DataSetType,
-            y_train: Union[DataSetType, None] = None,
             X_test: DataSetType,
+            y_train: Union[DataSetType, None] = None,
             y_test: Union[DataSetType, None] = None)\
             -> Tuple[DataSetType, DataSetType, CVType]:
         """
@@ -205,4 +205,3 @@ class CVComposer:
             self._logger.log_and_raise_error(
                     ("Failed to make sliding window cv. "
                      "Exit with error: {}".format(e)))
-