Re: How to extend FileDataModel

2013-05-16 Thread huangjia
Thanks to both of you! Manuel. It seems that your code directly use GenericDataModel without including extra fields such as category and time. So I still need to extend the GenericDataModel if I want to include tags, right? Thanks again, Jia On Thu, May 16, 2013 at 12:56 AM, Manuel Blechschmi

KMeansDriver to hdfs

2013-05-16 Thread Cyril Bogus
Hi everyone, I am running Hadoop 1.0.4 with Mahout 0.7 I am currently trying to write a program in Java that will use the Mahout Jar library and connect it to the hdfs I have setup on the machine I am using JobConf as Configuration file and write the data in hdfs that I want processed by mahout.

Re: WELCOME to user@mahout.apache.org

2013-05-16 Thread H H
Hi ! We would like to pass customized distance metrics to Canopy and KMeans. We would like to define weights, parameters, objects, so that when Canopy or KMeans computes a distance on two given vectors it can access these extra parameters. We are using Mahout 0.7. Basically we are looking for the

Re: How to extend FileDataModel

2013-05-16 Thread Manuel Blechschmidt
Hi Jia, checkout the following example which is used to build a data model from a similar dataset like yours: https://github.com/ManuelB/facebook-recommender-demo/blob/master/src/main/java/de/apaxo/bedcon/FacebookRecommender.java#L139 Dataset: https://github.com/ManuelB/facebook-recommender-dem