Explorar el Código

Fixed wrong label count.

Kristian Schultz hace 4 años
padre
commit
525cee9ee1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      library/dataset.py

+ 1 - 1
library/dataset.py

@@ -41,7 +41,7 @@ class DataSet:
         return np.zeros(self.size0)
 
     def labels1(self):
-        return np.zeros(self.size0) + 1
+        return np.zeros(self.size1) + 1
 
 
 class TrainTestData: