JadAssaf
commited on
Commit
•
c6be718
1
Parent(s):
fcc54e9
Print input to logs
Browse files
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
app.py
CHANGED
@@ -7,6 +7,7 @@ loaded_rf_3way = joblib.load("STPI_3WAY_RandomForest.joblib")
|
|
7 |
|
8 |
def STPI(t_0_5_MaxValue,t_1_0_MaxValue,t_2_0_MaxValue,Acc_0_5__1_0_MaxValue,Abs_Diff_t_0_5_MaxValue,Abs_Diff_t_1_0_MaxValue,Abs_Diff_t_2_0_MaxValue):
|
9 |
X = [t_0_5_MaxValue,t_1_0_MaxValue,t_2_0_MaxValue,Acc_0_5__1_0_MaxValue,Abs_Diff_t_0_5_MaxValue,Abs_Diff_t_1_0_MaxValue,Abs_Diff_t_2_0_MaxValue]
|
|
|
10 |
outcome_decoded = ['Normal','Keratoconic','Suspect']
|
11 |
file_object = open('stpi_data.txt', 'a')
|
12 |
file_object.write(str(t_0_5_MaxValue))
|
|
|
7 |
|
8 |
def STPI(t_0_5_MaxValue,t_1_0_MaxValue,t_2_0_MaxValue,Acc_0_5__1_0_MaxValue,Abs_Diff_t_0_5_MaxValue,Abs_Diff_t_1_0_MaxValue,Abs_Diff_t_2_0_MaxValue):
|
9 |
X = [t_0_5_MaxValue,t_1_0_MaxValue,t_2_0_MaxValue,Acc_0_5__1_0_MaxValue,Abs_Diff_t_0_5_MaxValue,Abs_Diff_t_1_0_MaxValue,Abs_Diff_t_2_0_MaxValue]
|
10 |
+
print(X)
|
11 |
outcome_decoded = ['Normal','Keratoconic','Suspect']
|
12 |
file_object = open('stpi_data.txt', 'a')
|
13 |
file_object.write(str(t_0_5_MaxValue))
|