Browse Source

Fixed wrong label count.

Kristian Schultz 4 năm trước cách đây
mục cha
commit
525cee9ee1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: