Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Binary classification is backwards
  • Loading branch information
Jamey Calabrese authored and Jamey Calabrese committed Apr 2, 2021
1 parent 5ce41b6 commit 0e9f2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__init__.py
Expand Up @@ -40,7 +40,7 @@ def worker_loop(hostname, model):

# Using the result of the prediction assing a classification
# TODO - In the future these possibilities should be fetchable from the data service
if round(pred) == 1:
if round(pred) == 0:
response_dict['classification'] = "covid-19"
else:
response_dict['classification'] = "not covid-19"
Expand Down

0 comments on commit 0e9f2cc

Please sign in to comment.