Fix of SVM class to inherit from Model and Block

This fix will solve the SVM class errors, but it won't give you a fully functional model, since channel list is empty. The model will train, but it won't give any interesting information on performance.

Example output:

    ....
    compiling begin_record_entry...
    compiling begin_record_entry done. Time elapsed: 0.007125 seconds
    Monitored channels: 
    Compiling accum...
    Compiling accum done. Time elapsed: 0.000096 seconds
    Monitoring step:
            Epochs seen: 0
            Batches seen: 0
	    Examples seen: 0



True relative imports (from .model import Model) are fine in my book. They
are unambiguous. This is a package-local import, which is ambiguous.


On Fri, Sep 5, 2014 at 5:04 PM, Pascal Lamblin <notifications@github.com>
wrote:

> In pylearn2/models/svm.py:
>
> > @@ -9,6 +9,10 @@
> >  import numpy as np
> >  import warnings
> >
> > +from pylearn2.blocks import Block
> > +from model import Model
>
> I think that should be from pylearn2.models.model, as we are trying to
> get rid of relative imports.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/lisa-lab/pylearn2/pull/1130/files#r17204496>.
>