Skip to content

Commit 0b4648e

Browse files
committed
fix path bug in python interface
1 parent 3b0b08b commit 0b4648e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/svm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def svm_read_problem(data_file_name):
6767
"""
6868
prob_y = []
6969
prob_x = []
70-
file_path = path.join(dataset_path, data_file_name)
70+
file_path = data_file_name
7171
for line in open(file_path):
7272
line = line.split(None, 1)
7373
# In case an instance with all zero features

0 commit comments

Comments
 (0)