generated from LufsX/Experiment-LogReg
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ from sklearn.linear_model import LogisticRegression
|
||||
from sklearn.metrics import accuracy_score, classification_report
|
||||
|
||||
# 读取数据
|
||||
data_path = '.\\data\\horse-colic.data'
|
||||
data_path = './data/horse-colic.data'
|
||||
data = pd.read_csv(data_path, header=None, delim_whitespace=True, na_values='?')
|
||||
|
||||
# 处理缺失值(用0填充)
|
||||
|
||||
Reference in New Issue
Block a user