Commit 9749ba2d authored by Taddeus Kroes's avatar Taddeus Kroes

Corrected typo.

parent 244e6796
...@@ -5,7 +5,7 @@ from svmutil import svm_train, svm_problem, svm_parameter, svm_predict, \ ...@@ -5,7 +5,7 @@ from svmutil import svm_train, svm_problem, svm_parameter, svm_predict, \
class Classifier: class Classifier:
def __init__(self, c=None, filename=None): def __init__(self, c=None, filename=None):
if filename: if filename:
# If a filename is given, load a model from the fiven filename # If a filename is given, load a model from the given filename
self.model = svm_load_model(filename) self.model = svm_load_model(filename)
else: else:
self.param = svm_parameter() self.param = svm_parameter()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment