소스 검색

fixed a bug in cv composer

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

+ 2 - 2
cdplib/ml_validation/CVComposer.py

@@ -70,8 +70,8 @@ class CVComposer:
 
         if use_index:
 
-            cv = self.dummy_cv(train_index=X_train.index,
-                               test_index=X_test.index)
+            cv = self.dummy_cv(train_set_index=X_train.index,
+                               test_set_index=X_test.index)
 
             X = pd.concat([X_train, X_test], ignore_index=False, axis=0)