Hi Ted,

Re:

In the readme, there is an example of using elephant-bird to store the
Classifier in a SequenceFile, i.e.

    /* the trained model is passed to use as a bytearray so we just pass it
on out.  The classifier

       class just contains the list of target valeus and the
OnlineLogisticRegression object itself. */

    store model into 'model.dat' using
com.twitter.elephantbird.pig.store.SequenceFileStorage (

       '-c com.twitter.elephantbird.pig.util.IntWritableConverter',

       '-c com.twitter.elephantbird.pig.util.GenericWritableConverter -t
org.apache.mahout.pig.Classifier'

    );

Is this intended? If so, this is what is not working and is confusing. If
not intended, I'll update the readme to use PigModelStorage instead.


Also, I'll try with elephant-bird 2.2.2 instead and see where that gets me.


Cheers,

Tim

On Sun, May 13, 2012 at 11:54 AM, Andy Schlaikjer <
andrew.schlaik...@gmail.com> wrote:

> On Fri, May 11, 2012 at 12:40 PM, Timothy Potter <thelabd...@gmail.com>
> wrote:
> > [ERROR] Failed to execute goal on project pig-vector: Could not resolve
> > dependencies for project pig-vector:pig-vector:jar:1.0: Could not find
> > artifact com.twitter:elephant-bird:jar:2.1.2 in elephant-bird (
> > https://raw.github.com/kevinweil/elephant-bird/master/repo) -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal on project pig-vector: Could not resolve dependencies for project
> > pig-vector:pig-vector:jar:1.0: Could not find artifact
> > com.twitter:elephant-bird:jar:2.1.2 in elephant-bird (
> > https://raw.github.com/kevinweil/elephant-bird/master/repo)
> >  at
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependency
>
> I don't see a 2.1.2 release in the repo:
>
>
> https://github.com/kevinweil/elephant-bird/tree/master/repo/com/twitter/elephant-bird
>
> Latest release is 2.2.2.
>
> Andy
>

Reply via email to