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
1
vote
2 answers

How to write recommendation on Mahout Spark

Mahout 0.13.0 / java 8 I am completely new in Mahout and trying to understand how to implement recommendation engine using Mahout. So far i know .. Mahout provides 3 types of filtering - Collaborative filtering (non Hadoop based) Classification…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
1
vote
2 answers

Apache Mahout SimilarityAnalysis for CCO throwing NegativeArraySizeException

When calling Apache Mahout's SimilarityAnalysis for CCO I get a fatal exception about a NegativeArraySizeException. The code I'm running looks like this: val result = SimilarityAnalysis.cooccurrencesIDSs(myIndexedDataSet:Array[IndexedDataset], …
ldeluca
  • 934
  • 3
  • 12
  • 25
1
vote
1 answer

Apache Mahout Recommender not working

I am using Apache Mahout Library for Recommendation but I fail to understand its working as it works for some of my cases and doesn't work for others. I a using Apache Mahout 0.12.2 version in Java 8. Code public class SampleRecommender { public…
Xavier
  • 113
  • 1
  • 8
1
vote
2 answers

Apache Mahout not giving any recommendation

I am trying to use mahout for the recommendation but getting none. My dataset : 0,102,5.0 1,101,5.0 1,102,5.0 Code : DataModel datamodel = new FileDataModel(new File("dataset.csv")); // Creating UserSimilarity object. …
Prakash P
  • 3,582
  • 4
  • 38
  • 66
1
vote
1 answer

Apache mahout recommender - should I recreate the data model for every user?

I am new to Apache Mahout recommender. The use case involves providing suggestions to users based on their purchase history. I am planning to use the following information : Purchase category Purchase amount Time of purchase (Example - recommend a…
Ankita
  • 11
  • 2
1
vote
2 answers

No output files from mahout

I am running a mahout recommenderJob on hadoop in syncfusion. I get the following. But no output... it seems to run indefinitely Does anyone have an idea why I am not getting an output.txt from this? Why does this seem to run indefinitely?
Dracarys
  • 714
  • 7
  • 16
1
vote
0 answers

Read output of spark-rowsimilarity analysis directly without writing it to file

I am writing scala code to pull data from db and run spark-rowsimilarity analysis. After running spark-rowsimilarity I want to read data returned by function directly write it back to mysql db. But I don't know how to read the data from…
Rohit Jain
  • 29
  • 5
1
vote
1 answer

Scala - Create IndexedDatasetSpark object

I want to run Spark RowSimilarity recommender on data obtained from mongodb. For this purpose, I've written below code which takes input from mongo, converts it to RDD of Objects. This needs to be passed to IndexedDataSetSpark which is then passed…
user3295878
  • 831
  • 1
  • 6
  • 19
1
vote
1 answer

Custom recommender jobs using apache mahout 0.11.2 over hadoop

I am newbie to Apache Mahout. I am using Apache mahout 0.11.2. So to give it a try I created java class called samplereccommender.java as shown below. package f; import java.io.File; import java.io.IOException; import…
Rohit Jain
  • 29
  • 5
1
vote
0 answers

Mahout - Cosine distance between vectors > 1

I'm using Mahout's CosineDistanceMeasure class in order to calculate the distance between vectors, represented as DenseVectors. DenseVector vector1 = ... //initialized to some values DenseVector vector2 = ... //initialized to some…
1
vote
0 answers

Mahout recommender error : did not find the delimiter in the first line

I've followed this tutorial : https://ademsha.com/notes/developing-recommendation-system-with-apache-mahout/ It worked fine with ml-100k dataset, but when I added more evaluations to the u.data file (using exactly the same format userId, itemId,…
Renato Melo
  • 174
  • 1
  • 9
1
vote
0 answers

Mahout Aggregate Multiple Similarity Objects

I have 3 different types of boolean preference data that I'm using to build 3 separate similarity object. I wanted to know if it is possible to combine these 3 similarity objects into one. I have 3 separate data files, one for items followed, items…
ray smith
  • 380
  • 3
  • 14
1
vote
1 answer

Exception in task 0.0 in stage 13.0 (TID 13) java.lang.OutOfMemoryError: Java heap space

We are experimenting problems when we use "mahout spark-rowsimilarity” operation. We have an input matrix with 100k rows and 100 items and process throws an exception about “Exception in task 0.0 in stage 13.0 (TID 13) java.lang.OutOfMemoryError:…
galix85
  • 167
  • 3
  • 13
1
vote
1 answer

How to connect a search engine to mahout

I have a search engine and I want to it just search special words for example when you search c vitamins the the search engine should bring the contents and when you click on the contents, it should bring its harm sides. Such as c vitamin is bad for…
1
vote
1 answer

How do I bring out recommendation in B2B site without using rating as a parameter?

I am doing project on Recommender systems for an ecommerce B2B website, I have even gone through recommender systems course from University of Minnesota from Coursera. I could not implement Recommender Systems in traditional way of recommending…