Thanks, Ted! I'll give that code a look! On Fri, Aug 5, 2011 at 7:30 PM, Ted Dunning <[email protected]> wrote: > On Fri, Aug 5, 2011 at 5:14 AM, Matteo Moci <[email protected]> wrote: > >> Is it possible with mahout (and some custom classes) have this flexibility >> and describe such types of features? >> > > Absolutely. > > >> Any type of pointers that could help me? >> > > Chapters 14-16 of Mahout in Action cover variable encoding at various levels > using the hashed encoding methods. > > The basic idea is that the variable name can be included as the hash key > used in encoding. You can also encode interactions of variables such as > position x word. > > See also the example code for Chapter 16 that is under my github account. > See > > https://github.com/tdunning/Chapter-16 >
-- Matteo Moci http://it.linkedin.com/in/matteomoci http://about.me/matteomoci/bio
