Questions tagged [mahout-recommender]

A collaborative filtering engine takes users' preferences for items and returns estimated preferences for other items.

Mahout provides a rich set of components from which you can construct a customized recommender system from a selection of algorithms. Mahout is designed to be enterprise-ready; it's designed for performance, scalability and flexibility.

See Mahout Recommender Documentation

273 questions
0
votes
2 answers

error when giving directory as input path to spark-itemsimilarity?

I am getting following error when running mahout spark-itemsimilarity from terminal with input path to directory. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at…
0
votes
1 answer

Semantic web recommend-er system development

I'm beginning in semantic web. I want to develop a semantic web recommend-er system. The most important part of my project is moddeling. How can I start it? How long does it take? What soft-wares or tools can I use to develop that?
0
votes
1 answer

Mahout - How to map String ids to long ones for large dataset?

I know that if we are going to use Mahout's recommender library, no matter it's distributed or not, we have to transform the String ids to long ones at the first place. If the dataset is not too large, everything is fine, I can easily use a…
shihpeng
  • 5,283
  • 6
  • 37
  • 63
0
votes
1 answer

When running mahout spark-itemsimilarity is giving error?

I get the following Stack-Trace error when i run ./mahout spark-itemsimilarity --input input-file --output /output_dir --master spark://url_to_master …
KlwntSingh
  • 1,084
  • 8
  • 26
0
votes
1 answer

what does 0 as output means in AverageAbsoluteDifferenceRecommenderEvaluator in mahout?

I am currently playing with Apache mahout and reading book Mahout in Action and it confused me about the evaluator which we use in evaluation of recommender system and specifically i wanted to ask about…
KlwntSingh
  • 1,084
  • 8
  • 26
0
votes
1 answer

how to combine two similarity instances in Apache mahout

I am new to Apache mahout and i have question in mind, please correct me if i am wrong. Lets assume we have dataset and calculated recommendations from dataset and than displayed the results to users and when users come to visit our site again we…
0
votes
1 answer

Apache Mahout - Generating a recommendation using EuclideanDistanceSimilarity

I have been using the Mahout library to implement a recommendation algorithm. I have used the EuclideanDistanceSimilarity class and so far my results seem fine. My DataModel currenty consists of 500 ratings for 100 items which are rated on a scale…
jxs145
  • 15
  • 1
  • 4
0
votes
1 answer

Invalid outout when writing to file with java

I'm trying to write the output to a csv file but the first values are in this format I used ObjectOutputStream. Normally the first values should be 1,1,1,2,2,2,3.... Here is my code any ideas please ? import java.io.File; import…
Younes
  • 18
  • 3
0
votes
1 answer

user based recommendation system not working properly(mahout)

I have implemented a basic user based recommandation system but when I run the program there are a lot of users(in output) who have not any recommended item. I thought that it could be due to my datamodel if there is single item for this user but…
Sunil Kumar
  • 311
  • 1
  • 5
  • 16
0
votes
1 answer

Building a recommender engine using Mahout

We have data stored on s3. We want to build a recommender engine using Mahout. Can anybody explain the architecture of building such a system?
0
votes
1 answer

PlusAnonymousConcurrentUserDataModel example in java

i am trying to write a recommender systems code that should use the function PlusAnonymousConcurrentUserDataModel to get a temporary profile for a new user. l am using mahout Can anyone show an example? Any help will be appreciated Cheers kingsley
0
votes
1 answer

Mahout: Missing class to create Sequence Files

I'm following the instructions at the mahout site for converting an existing file to a sequence file: VectorWriter vectorWriter = SequenceFile.createWriter(filesystem, configuration, …
Denise
  • 1,947
  • 2
  • 17
  • 29
0
votes
1 answer

Is this structure to create Cassandra tables for Mahout right?

Following this question and its answer I would like to know if this instruction are well performed for Cassandra 2.0, according that in this version the CLI and the comparator stuff is deprecated, as show in this link. Table users: CREATE TABLE…
0
votes
1 answer

If I am using SIMILARITY_LOGLIKELIHOOD (LLR) are item ratings really ignored?

I used the movie lens data file (ml-100k.zip) u.data unchanged, so it had the columns: userID, MovieID and user rating. I used LLR: hadoop jar C:\hdp\mahout-0.9.0.2.1.3.0-1981\core\target\mahout-core-0.9.0.2.1.3.0-1981-job.jar…
RandomTask
  • 499
  • 8
  • 19
0
votes
1 answer

Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

I am trying to run example provided in Mahout in Action for Recommendation. The command that I run is hadoop jar mahout-core-0.9-job.jar org.apache.mahout.cf.taste.hadoop.item.RecommenderJob -Dmapred.input.dir=gru/links-simple-sorted.txt…
daydreamer
  • 87,243
  • 191
  • 450
  • 722