Explorar el Código

fixed a bug in cv composer

tanja hace 3 años
padre
commit
7ccd41b6f7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      cdplib/ml_validation/CVComposer.py

+ 2 - 2
cdplib/ml_validation/CVComposer.py

@@ -76,8 +76,8 @@ class CVComposer:
             X = pd.concat([X_train, X_test], ignore_index=False, axis=0)
 
         else:
-            cv = self.dummy_cv(train_size=len(X_train),
-                               test_size=len(X_test))
+            cv = self.dummy_cv(train_set_size=len(X_train),
+                               test_set_size=len(X_test))
 
             X = np.concatenate([X_train, X_test])