保存预测结果
This commit is contained in:
parent
21a7f130bb
commit
0e92708c36
@ -219,7 +219,7 @@ def ex_Model(df,horizon,input_size,train_steps,val_check_steps,early_stop_patien
|
|||||||
sqlitedb.update_data('predict',set_clause,where_condition = f"ds = '{row.ds}'")
|
sqlitedb.update_data('predict',set_clause,where_condition = f"ds = '{row.ds}'")
|
||||||
continue
|
continue
|
||||||
sqlitedb.insert_data('predict',tuple(row_dict.values()),columns=columns)
|
sqlitedb.insert_data('predict',tuple(row_dict.values()),columns=columns)
|
||||||
save_to_database(df_predict)
|
save_to_database(df_predict,)
|
||||||
|
|
||||||
# 把预测值上传到eta
|
# 把预测值上传到eta
|
||||||
if is_update_eta:
|
if is_update_eta:
|
||||||
|
Loading…
Reference in New Issue
Block a user