From 5980b7aad657ec9dc0761d473d9b0a4ed077a7b9 Mon Sep 17 00:00:00 2001 From: luderby <2339127037@qq.com> Date: Tue, 5 Nov 2024 11:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20function.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.py b/function.py index ba835ed..bef94d8 100644 --- a/function.py +++ b/function.py @@ -93,4 +93,4 @@ if __name__ == "__main__": # 打印单个测试样本的预测结果和实际结果(示例) # 注意:索引11可能需要根据实际测试集调整,这里仅作为示例 sample_index = 11 # 假设要测试的样本索引是11(注意:索引可能需要根据实际数据调整) - print(f"预测结果: {y_pred[sample_index]}, 实际结果: {y_test[sample_index]}") \ No newline at end of file + print(f"预测结果: {y_pred[sample_index]}, 实际结果: {y_test[sample_index]}") \ No newline at end of file