generated from LufsX/Experiment-LogReg
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ def load_data(filepath):
|
||||
data = []
|
||||
with open(filepath, 'r') as file:
|
||||
for line in file:
|
||||
line_data line.strip().split()
|
||||
line_data = line.strip().split()
|
||||
if line_data:
|
||||
try:
|
||||
data. append([float(x) if x !='?'else np. nan for x in line_data])
|
||||
|
||||
Reference in New Issue
Block a user