-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshow_batch_file.py
More file actions
29 lines (29 loc) · 818 Bytes
/
show_batch_file.py
File metadata and controls
29 lines (29 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import pickle
pickle_in = open("nn_w.pickle","r")
example_dict = pickle.load(pickle_in)
print "Nearest Neighbor with weight"
print(example_dict[0])
print example_dict[1]
for i in range(0,20):
print example_dict[2][i]
pickle_in = open("nn.pickle","r")
example_dict = pickle.load(pickle_in)
print "Nearest Neighbor without weight"
print(example_dict[0])
print example_dict[1]
for i in range(0,20):
print example_dict[2][i]
pickle_in = open("bb_w.pickle","r")
example_dict = pickle.load(pickle_in)
print "BnB with weight"
print(example_dict[0])
print example_dict[1]
for i in range(0,20):
print example_dict[2][i]
pickle_in = open("bb.pickle","r")
example_dict = pickle.load(pickle_in)
print "BNB without weight"
print(example_dict[0])
print example_dict[1]
for i in range(0,20):
print example_dict[2][i]