石油焦普货名称

This commit is contained in:
workpc 2025-03-26 14:37:42 +08:00
parent 06cfab9de8
commit 89ac2b4531
3 changed files with 6 additions and 5 deletions

View File

@ -353,10 +353,10 @@ weight_dict = [0.4, 0.15, 0.1, 0.1, 0.25] # 权重
# 文件
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.connect()

View File

@ -422,7 +422,7 @@ def predict_main():
# 模型报告
logger.info('制作报告ing')
title = f'{settings}--{end_time}-预测报告' # 报告标题
reportname = '石油焦铝用渠道.pdf' # 报告文件名
reportname = '石油焦大模型铝用渠道.pdf' # 报告文件名
# 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,

View File

@ -422,8 +422,9 @@ def predict_main():
# 模型报告
logger.info('制作报告ing')
title = f'{settings}--{end_time}-预测报告' # 报告标题
reportname = f'石油焦普货大模型日度预测--{end_time}.pdf' # 报告文件名
reportname = reportname.replace(':', '-') # 替换冒号
reportname = '石油焦大模型普货渠道.pdf' # 报告文件名
# 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,
reportname=reportname, sqlitedb=sqlitedb),