Skip to content

Commit f60adf6

Browse files
authoredSep 14, 2016
Add files via upload
Made a small correction to scripts.
1 parent 1bdc9d8 commit f60adf6

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed
 

‎PatientData.py

-3
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ def patient_history(DB,Patient):
121121
# If patient has no history, return an empty list right away (or else the next filters will crash)
122122
if len(ordered_data)<1:
123123
return ordered_data
124-
125-
for i in ordered_data:
126-
print(i)
127124

128125
# Filter out consecutive duplicates... keep only first instance
129126
unique_data = []

‎PredictionMatrix.py

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def Build_Prediction_Matrix(data,DB):
5252

5353
# Build the sparse matrix and predict for that matrix. If the patient already reached Ready For Treatment, simply return 0
5454
if alias != 'READY FOR TREATMENT':
55-
print('/var/www/devDocuments/marc/ML_Algorithm_MUHC/'+model);
5655
model = pickle.load(open('/var/www/devDocuments/marc/ML_Algorithm_MUHC/'+model,'rb'))
5756
columndictionary = pickle.load(open('/var/www/devDocuments/marc/ML_Algorithm_MUHC/columndictionary.pkl','rb'))
5857
column = columndictionary[col]

0 commit comments

Comments
 (0)
Please sign in to comment.