Explorar o código

Fixed wrong label count.

Kristian Schultz %!s(int64=4) %!d(string=hai) anos
pai
achega
525cee9ee1
Modificáronse 1 ficheiros con 1 adicións e 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: