generated from LufsX/Experiment-kNN
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ if __name__ == "__main__":
|
|||||||
"00000000000000000111100000000000"
|
"00000000000000000111100000000000"
|
||||||
)
|
)
|
||||||
predicted_label = classify(
|
predicted_label = classify(
|
||||||
np.array([int(char) for char in test_data]).reshape(1, 1024),
|
np.array([int(char) for char in test_data]).reshape(1, 784),
|
||||||
train_data,
|
train_data,
|
||||||
train_labels,
|
train_labels,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user