your_69_guy wrote:
> I have a training set of 45K documents for 1000 categories and
> don't want users of my application to have to wait while the classifier is
trained every time the open the application. I would prefer to
> run the training once and distribute the trained classifier object via
> a database.
>
> I am using Daffodil db which is capable of storing blobs.
>
> Is it possible to serialize an instance of a classifier after it is trained
and persist the object in a relation database for later use?
>
I have no idea of how Daffodil will deal with java serialization but you
can serialize with
the AbstractExternalizable class for any of the classifiers that
implement Compilable
http://alias-i.com/lingpipe/docs/api/index.html
something along the lines of
AbstractExternalizable.compileTo(classifier,modelFile);
from our http://alias-i.com/lingpipe/demos/tutorial/langid/read-me.html
but with how ever Daffodil provides that capability.
best
Breck
> What types of modifications would need to be made to make this possible?
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
--
Breck Baldwin
Alias-i, Inc.
181 North 11th Street, Suite 401
Brooklyn, NY 11211
v:718.290.9170
f:718.290.9171
m:917.292.8845
breck@...