My pleasure and hoping to do more with it ;-) Cheers, Tim
On Mon, May 14, 2012 at 1:11 PM, Ted Dunning <[email protected]> wrote: > Tim, > > Sorry for the confusion and lack of help. Pig-vector is half-done and not > even quite half-baked. > > Your help in updating the readme is very much appreciated. > > On Mon, May 14, 2012 at 10:17 AM, Timothy Potter <[email protected] > >wrote: > > > 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 < > > [email protected]> wrote: > > > > > On Fri, May 11, 2012 at 12:40 PM, Timothy Potter <[email protected] > > > > > 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 > > > > > >
