Skip to content

Commit

Permalink
fix ocr & svr demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Mar 14, 2013
1 parent 1459ba0 commit 5cd042d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified applications/ocr/data/ocr.svm.gz
Binary file not shown.
Expand Up @@ -126,7 +126,7 @@ def train_svm(self):
svm.set_epsilon(1e-2)

x=numpy.linspace(-5.0,5.0,100)
y=svm.apply(RealFeatures(numpy.array([x]))).get_values()
y=svm.apply(RealFeatures(numpy.array([x]))).get_labels()

self.axes.plot(x,y,'r-')

Expand Down

0 comments on commit 5cd042d

Please sign in to comment.