1. how to transfer file/iamge to a vector
learn to use open(filename), pr.readlines(), pr.readline(), line.strip(), line.split()
2.how the kNN method works
the key step is to construct a dictionary
dict.get(key, 0) + 1
1. how to transfer file/iamge to a vector
learn to use open(filename), pr.readlines(), pr.readline(), line.strip(), line.split()
2.how the kNN method works
the key step is to construct a dictionary
dict.get(key, 0) + 1