Commit 09073bf3 authored by Taddeus Kroes's avatar Taddeus Kroes

Removed unused import.

parent 7fc61239
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()
......
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