Skip to content
Snippets Groups Projects
Commit 09073bf3 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Removed unused import.

parent 7fc61239
No related branches found
No related tags found
No related merge requests found
from svmutil import svm_train, svm_problem, svm_parameter, svm_predict, \
svm_save_model, svm_load_model
from cPickle import dump, load
class Classifier:
def __init__(self, c=None, filename=None):
if filename:
# If a filename is given, load a modl from the fiven filename
# If a filename is given, load a model from the fiven filename
self.model = svm_load_model(filename)
else:
self.param = svm_parameter()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment