generated from LufsX/Experiment-LogReg
This commit is contained in:
+2
-2
@@ -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:
|
||||
# 特征缩放
|
||||
|
||||
Reference in New Issue
Block a user