|
@@ -208,7 +208,7 @@ def diffmin(res):
|
|
return diff_min
|
|
return diff_min
|
|
|
|
|
|
def res_output(TestOrg,scaler,model,group,end_time):
|
|
def res_output(TestOrg,scaler,model,group,end_time):
|
|
- df_res=pd.DataFrame(columns=['product_id', 'start_time', 'end_time', 'diff_min','soc','loss_sum','loss_max','diffV','downV','diffdownV','window_step'])
|
|
|
|
|
|
+ df_res=pd.DataFrame(columns=['product_id', 'start_time', 'end_time', 'diff_min','SOC','loss_sum','loss_max','diffV','downV','diffdownV'])
|
|
diff=0
|
|
diff=0
|
|
test2=create_dataset(TestOrg)
|
|
test2=create_dataset(TestOrg)
|
|
test3=cal_dataset(test2)
|
|
test3=cal_dataset(test2)
|