先去掉报告中第二个图
This commit is contained in:
parent
d3d481d875
commit
54506df99e
@ -1404,7 +1404,7 @@ def model_losss(sqlitedb, end_time):
|
||||
plt.close()
|
||||
|
||||
_plt_predict_ture(df_combined3)
|
||||
_plt_modeltopten_predict_ture(df_combined4)
|
||||
# _plt_modeltopten_predict_ture(df_combined4)
|
||||
_plt_predict_table(df_combined3)
|
||||
_plt_model_results3()
|
||||
|
||||
@ -2246,12 +2246,12 @@ def brent_export_pdf(num_indicators=475, num_models=21, num_dayindicator=202, in
|
||||
content.append(Graphs.draw_text(
|
||||
' 确定置信区间:设置残差置信阈值,以每周最佳模型为基准,选取在置信区间的预测值作为置信区间;'))
|
||||
|
||||
# 添加历史走势及预测价格的走势图片
|
||||
content.append(Graphs.draw_img(
|
||||
os.path.join(config.dataset, '历史价格-预测值1.png')))
|
||||
content.append(Graphs.draw_text('图示说明:'))
|
||||
content.append(Graphs.draw_text(
|
||||
' 确定置信区间:使用模型评估指标MAE得到前十个模型,取平均值上下1.5作为价格波动置信区间;'))
|
||||
# # 添加历史走势及预测价格的走势图片
|
||||
# content.append(Graphs.draw_img(
|
||||
# os.path.join(config.dataset, '历史价格-预测值1.png')))
|
||||
# content.append(Graphs.draw_text('图示说明:'))
|
||||
# content.append(Graphs.draw_text(
|
||||
# ' 确定置信区间:使用模型评估指标MAE得到前十个模型,取平均值上下1.5作为价格波动置信区间;'))
|
||||
|
||||
# 取df中y列为空的行
|
||||
import pandas as pd
|
||||
|
Loading…
Reference in New Issue
Block a user