Closed yala closed 7 years ago
Hi Adam,
Please see inbreast.py for details.
def readlabel(): '''read the label as a dict from labelfile''' mydict = {} with open(labelfile, 'r') as f: flines = f.readlines() for line in flines: data = line.split() if int(data[1]) == 0: mydict[data[0]] = int(data[1]) else: assert(int(data[1])==2 or int(data[1])==1) mydict[data[0]] = int(data[1])-1 return mydict
Thanks, Wentao
Thanks!
Hello!
I was looking over the dataset and noticed
label.txt
has markings 0, 1 and 2. However, the paper mentions you are treating this as a binary classification problem.What do the labels mean?
Thanks!