Re: Adding new users at runtime?

2012-07-16 Thread Sean Owen
There's not a very clean answer to this. The original design from way back when was definitely about reloading a fixed model periodically. So that's always an option -- put the users in your database, or update files, or whatever backs the model and they'll turn up at the next reload. The anonymou

kmeans centroid using or function

2012-07-16 Thread Masoud Moshref Javadi
I want to run kmeans on binary data and the definition of centroid for my application is the Or() of bits of all points inside a cluster. Where, in Mahout, should I change? -- Masoud Moshref Javadi Computer Engineering PhD Student Ming Hsieh Department of Electrical Engineering University of Sou

Re: Question about hadoop based mahout

2012-07-16 Thread Saikat Kanjilal
Hi Swapna, I can't give you source code for legal reasons but you should be able to setup Hadoop based map reduce jobs that invoke mahout item similarity and clustering algorithms to run in offline mode in a local or dev hadoop cluster. I wrote some scala code to invoke mahout and stream out res

Adding new users at runtime?

2012-07-16 Thread Matt Mitchell
I'm thinking about ways I could add new users to the system dynamically. I have an app that gets lots of requests from new users, but there's an opportunity to get prefs before showing the items. So I can see where the anonymous user class would work here, but then what about subsequent requests

Re: KMeansMapper

2012-07-16 Thread Jeff Eastman
Note that the KMeansMapper, along with its combiner and reducer, were eliminated in the latest 0.7 clustering refactoring and are no longer in trunk. On 7/16/12 3:59 AM, Weishung Chung wrote: Thank you. Found it in the source zip :) On Mon, Jul 16, 2012 at 12:08 AM, bing wang wrote: org.

Re: Need help on Mahout Recommendation - using Preferences

2012-07-16 Thread Sean Owen
On Mon, Jul 16, 2012 at 9:33 AM, Cleophus Pereira wrote: > You mentioned to use IDRescorer to get data based on user preferences. But > in mahout schema we have just itemid (number) and scores(double). How can we > determine purely based on this what is user preference. I don't know what you

Re: KMeansMapper

2012-07-16 Thread Weishung Chung
Thank you. Found it in the source zip :) On Mon, Jul 16, 2012 at 12:08 AM, bing wang wrote: > org.apache.mahout.clustering.kmeans.KMeansMapper > > 2012/7/16 Weishung Chung > > > Hi, > > > > Could anyone tell me where is KMeansMapper in the package ? > > I can't find it :( > > > > Thank you, >

about "cardinality" in WeightsMapper

2012-07-16 Thread Lu arsenal
Hi, I'm new to mahout. And learning how to use naiveBayes included in mahout 0.7. And when I read the code in * org.apache.mahout.classifier.naivebayes.training.WeightsMapper*, I found a confuse variable "cardinality" of RandomAccessSparseVector which actually is the property "size" in Abst

Re: KMeansMapper

2012-07-16 Thread bing wang
org.apache.mahout.clustering.kmeans.KMeansMapper 2012/7/16 Weishung Chung > Hi, > > Could anyone tell me where is KMeansMapper in the package ? > I can't find it :( > > Thank you, > Wei Shung > -- Gmail/talk: wangbing7...@gmail.com