更新 function.py
Gitea Actions Experiment Test / Experiment-Actions (push) Successful in 12s

This commit is contained in:
sn
2024-11-02 21:24:28 +08:00
parent a2434dc1e0
commit 528ab44a98
+2 -2
View File
@@ -92,8 +92,8 @@ def load_data(filepath):
# main函数,程序的入口点
def main():
X_train, y_train = load_data("D:/data/horse/horse-colic.data") # 加载训练数据
X_test, y_test = load_data("D:/data/horse/horse-colic.test") # 加载测试数据
X_train, y_train = load_data("./data/horse-colic.data") # 加载训练数据
X_test, y_test = load_data("./data/horse-colic.test") # 加载测试数据
if X_train is not None and X_test is not None:
# 特征缩放