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