Commit 0a4f4b36 authored by Charles Thomas's avatar Charles Thomas

converting numpy array to list when printing

parent 437b8022
......@@ -210,7 +210,7 @@ def train_and_evaluate(minsup, database, subsets):
pos_support = len(gid_subsets[0])
print('{} {}'.format(pattern, pos_support))
# printing classification results:
print(predicted)
print(predicted.tolist())
print('accuracy: {}'.format(accuracy))
print() # Blank line to indicate end of fold.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment