石油焦普货名称
This commit is contained in:
parent
06cfab9de8
commit
89ac2b4531
@ -353,10 +353,10 @@ weight_dict = [0.4, 0.15, 0.1, 0.1, 0.25] # 权重
|
|||||||
|
|
||||||
# 文件
|
# 文件
|
||||||
data_set = '石油焦普货指标数据.xlsx' # 数据集文件
|
data_set = '石油焦普货指标数据.xlsx' # 数据集文件
|
||||||
dataset = 'shiyoujiaolvyongdataset' # 数据集文件夹
|
dataset = 'shiyoujiaopuhuodataset' # 数据集文件夹
|
||||||
|
|
||||||
# 数据库名称
|
# 数据库名称
|
||||||
db_name = os.path.join(dataset, 'jbsh_shiyoujiao_lvyong.db')
|
db_name = os.path.join(dataset, 'jbsh_shiyoujiao_puhuo.db')
|
||||||
sqlitedb = SQLiteHandler(db_name)
|
sqlitedb = SQLiteHandler(db_name)
|
||||||
sqlitedb.connect()
|
sqlitedb.connect()
|
||||||
|
|
||||||
|
@ -422,7 +422,7 @@ def predict_main():
|
|||||||
# 模型报告
|
# 模型报告
|
||||||
logger.info('制作报告ing')
|
logger.info('制作报告ing')
|
||||||
title = f'{settings}--{end_time}-预测报告' # 报告标题
|
title = f'{settings}--{end_time}-预测报告' # 报告标题
|
||||||
reportname = '石油焦铝用渠道.pdf' # 报告文件名
|
reportname = '石油焦大模型铝用渠道.pdf' # 报告文件名
|
||||||
# reportname = f'石油焦铝用大模型日度预测--{end_time}.pdf' # 报告文件名
|
# reportname = f'石油焦铝用大模型日度预测--{end_time}.pdf' # 报告文件名
|
||||||
# reportname = reportname.replace(':', '-') # 替换冒号
|
# reportname = reportname.replace(':', '-') # 替换冒号
|
||||||
shiyoujiao_lvyong_export_pdf(dataset=dataset, num_models=5 if is_fivemodels else 22, time=end_time,
|
shiyoujiao_lvyong_export_pdf(dataset=dataset, num_models=5 if is_fivemodels else 22, time=end_time,
|
||||||
|
@ -422,8 +422,9 @@ def predict_main():
|
|||||||
# 模型报告
|
# 模型报告
|
||||||
logger.info('制作报告ing')
|
logger.info('制作报告ing')
|
||||||
title = f'{settings}--{end_time}-预测报告' # 报告标题
|
title = f'{settings}--{end_time}-预测报告' # 报告标题
|
||||||
reportname = f'石油焦普货大模型日度预测--{end_time}.pdf' # 报告文件名
|
reportname = '石油焦大模型普货渠道.pdf' # 报告文件名
|
||||||
reportname = reportname.replace(':', '-') # 替换冒号
|
# reportname = f'石油焦大模型普货日度预测--{end_time}.pdf' # 报告文件名
|
||||||
|
# reportname = reportname.replace(':', '-') # 替换冒号
|
||||||
shiyoujiao_lvyong_export_pdf(dataset=dataset, num_models=5 if is_fivemodels else 22, time=end_time,
|
shiyoujiao_lvyong_export_pdf(dataset=dataset, num_models=5 if is_fivemodels else 22, time=end_time,
|
||||||
reportname=reportname, sqlitedb=sqlitedb),
|
reportname=reportname, sqlitedb=sqlitedb),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user