From 3f06049e705fefd70b61c224bbaa3e66e392b4c3 Mon Sep 17 00:00:00 2001 From: workpc Date: Wed, 26 Mar 2025 14:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=A2=84=E6=B5=8B=E7=9B=AE?= =?UTF-8?q?=E6=A0=87=EF=BC=8C=E6=9B=B4=E6=94=B9=E6=8A=A5=E5=91=8A=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_shiyoujiao_puhuo.py | 4 ++-- main_shiyoujiao_puhuo.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config_shiyoujiao_puhuo.py b/config_shiyoujiao_puhuo.py index ebbdbce..1c02fa0 100644 --- a/config_shiyoujiao_puhuo.py +++ b/config_shiyoujiao_puhuo.py @@ -352,7 +352,7 @@ weight_dict = [0.4, 0.15, 0.1, 0.1, 0.25] # 权重 # 文件 -data_set = '石油焦铝用指标数据.xlsx' # 数据集文件 +data_set = '石油焦普货指标数据.xlsx' # 数据集文件 dataset = 'shiyoujiaolvyongdataset' # 数据集文件夹 # 数据库名称 @@ -364,7 +364,7 @@ settings = f'{input_size}-{horizon}-{train_steps}--{k}-{data_set}' # 获取日期时间 # now = datetime.datetime.now().strftime('%Y%m%d%H%M%S') # 获取当前日期时间 now = datetime.datetime.now().strftime('%Y-%m-%d') # 获取当前日期时间 -reportname = f'石油焦铝用大模型日度预测报告--{end_time}.pdf' # 报告文件名 +reportname = f'石油焦普货大模型日度预测报告--{end_time}.pdf' # 报告文件名 reportname = reportname.replace(':', '-') # 替换冒号 if end_time == '': end_time = now diff --git a/main_shiyoujiao_puhuo.py b/main_shiyoujiao_puhuo.py index b54cfc5..9e2c0cd 100644 --- a/main_shiyoujiao_puhuo.py +++ b/main_shiyoujiao_puhuo.py @@ -422,7 +422,7 @@ def predict_main(): # 模型报告 logger.info('制作报告ing') title = f'{settings}--{end_time}-预测报告' # 报告标题 - reportname = f'石油焦铝用大模型日度预测--{end_time}.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),