Skip to content

Commit

Permalink
fix path bug in python interface
Browse files Browse the repository at this point in the history
  • Loading branch information
QinbinLi committed Jun 29, 2018
1 parent 3b0b08b commit 0b4648e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/svm.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def svm_read_problem(data_file_name):
"""
prob_y = []
prob_x = []
file_path = path.join(dataset_path, data_file_name)
file_path = data_file_name
for line in open(file_path):
line = line.split(None, 1)
# In case an instance with all zero features
Expand Down

0 comments on commit 0b4648e

Please sign in to comment.