JadAssaf commited on
Commit
398a6f6
1 Parent(s): 6cf9c2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,9 +5,9 @@ loaded_rf_2way = joblib.load("STPI_2WAY_RandomForest.joblib")
5
  loaded_rf_3way = joblib.load("STPI_3WAY_RandomForest.joblib")
6
 
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,optional_custom_message='No_Message'):
9
  print('------------------')
10
- print(optional_custom_message)
11
 
12
  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]
13
  print(X)
@@ -27,7 +27,7 @@ def STPI(t_0_5_MaxValue,t_1_0_MaxValue,t_2_0_MaxValue,Acc_0_5__1_0_MaxValue,Abs_
27
  file_object.write(';')
28
  file_object.write(str(Abs_Diff_t_2_0_MaxValue))
29
  file_object.write(';')
30
- file_object.write(optional_custom_message)
31
  file_object.write('\n')
32
  file_object.close()
33
 
 
5
  loaded_rf_3way = joblib.load("STPI_3WAY_RandomForest.joblib")
6
 
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,Optional_Custom_Message='No_Message'):
9
  print('------------------')
10
+ print(Optional_Custom_Message)
11
 
12
  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]
13
  print(X)
 
27
  file_object.write(';')
28
  file_object.write(str(Abs_Diff_t_2_0_MaxValue))
29
  file_object.write(';')
30
+ file_object.write(Optional_Custom_Message)
31
  file_object.write('\n')
32
  file_object.close()
33