mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Alternative Naive Bayes Datastore?
Date Tue, 14 Sep 2010 16:03:15 GMT
The serialization involved in that comment is likely to be GSON based
serialization.

See org.apache.mahout.classifier.sgd.ModelSerializer for uses of this.

On Tue, Sep 14, 2010 at 8:38 AM, Dean Jones <dean.m.jones@gmail.com> wrote:

> HI Grant, Drew,
>
> Thanks for the responses. I had pretty much concluded that I would
> need to roll my own datastore, but thanks for the confirmation. I'm
> basing the implementation on the InMemoryBayesDatastore, but have hit
> a little bit of a snag because I'm trying to implement a jdbm-backed
> version of o.a.m.math.Matrix using
> o.a.m.math.RandomAccessSparseVector, but this class is not
> Serializable; it does have a default constructor with the comment "For
> serialization purposes only", which suggests that perhaps that
> intention was to allow its subclasses to be Serializable. Any thoughts
> on what the intention here was? Currently I've patched it to implement
> Serializable.
>
> Dean.
>
> On 14 September 2010 14:22, Drew Farris <drew@apache.org> wrote:
> > Hi Dean,
> >
> > InMemory and HBase are the only options present currently. It
> > shouldn't be too difficult to implement a new storage back-end. You
> > would need to consider the issue of both loading the data into your
> > persistence framework and reading it back out.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message