Skip to content

Commit 175ea38

Browse files
committed
Fix diagnoses
1 parent c111f04 commit 175ea38

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

algorithm.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@
44

55
random.seed(90210)
66

7-
diagnoses = ['MEL', 'NV', 'BCC', 'AKIEC', 'BKL', 'DF', 'VASC']
7+
diagnoses = ['MEL', 'NV', 'BCC', 'AK', 'BKL', 'DF', 'VASC', 'SCC', 'UNK']
88

99

1010
def my_algorithm(image):
1111
return [random.random() for _ in range(len(diagnoses))]
1212

13+
1314
if not os.path.exists('/images'):
1415
print('The directory /images does not exist, did you forget to mount it?', file=sys.stderr)
1516
sys.exit(1)
1617

1718
# print headers
18-
print(','.join(['image'] + diseases))
19+
print(','.join(['image'] + diagnoses))
1920

2021
# print scores for each image
2122
for input_file in os.listdir('/images'):

0 commit comments

Comments
 (0)