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
1 answer

Binarize the ratings - MovieLens dataset

I am working on a personalised news recommendation engine based on click-behaviour of users. My features will be predefined news categories (such as politics, sport and etc). Whenever user clicks on an article, I build/update user profile based on…
1
vote
0 answers

Java/Tomcat Web Service, Possible memor leak or GC tuning needed

I have a web service running on Tomcat 8/Windows. It processes a large amount of data loaded into memory. Task Manager shows the Tomcat process occupying ~9G after the initial data load; Tomcat's max memory pool is set to 14G. Visual GC shows 4.5G…
1
vote
0 answers

My recommender recommends empty list

Please look at the following code. I am using the movielens 100k dataset. But the recommender does not return a list of recommended items, it returns an empty list. Where did I go wrong? package org.psneog; import java.io.File; import…
1
vote
1 answer

Mahout spark-itemsimilarity saveAsTextFile final stage is very slow

I'm using Mahout 0.11.0 on Spark 1.5.1 in YARN client mode on an HDP 2.2 cluster from the cli. My input is about 325Mb, partitioned into 1000 part files. Here's the exact command I invoke: $MAHOUT_HOME/bin/mahout spark-itemsimilarity --input…
1
vote
0 answers

Importing mahout 0.11 version in eclipse

How can I import Mahout 0.11.0 version on Eclipse ? I couldn't find any jar file in the download file.
Sreejithc321
  • 297
  • 3
  • 19
1
vote
0 answers

Retrieve String itemID with mahout from PHP Server

I'm trying to use a recommender with mahout. Mahout don't accept string itemid so I've used this to make it possible : https://github.com/KlwntSingh/CustomFileModelMahout But now I don't know how I'm supposed to get the real string id from my PHP…
Splinteer
  • 1,126
  • 4
  • 13
  • 28
1
vote
0 answers

how to do recommendation on imbalanced dataset of Recommender Systems

Pls. tell me how to do recommendation on imbalanced dataset of Recommender Systems. As per my knowledge one need to create training and testing files for each user, having their ratings as the class label. For Ex: Suppose user have given Item1,…
1
vote
1 answer

Recommending users for other users based on their preferences by using Apache-mahout

This is my first question on stackoverflow.com, so if I make any mistake sorry about that. Now, I'm trying to create a recommendation engine in java by using apache-mahout. I have an input file like shown below (It will be much larger of course) : …
1
vote
0 answers

Apache Mahout: Creating similarities for taste_item_similarity table for the MySQLJDBCItemSimilarity class

I've created a taste_preferences table with the user_id, item_id, and preference, but now I'm trying to figure out how to calculate the similarities and insert them into my taste_item_similarity table. Here's the link to the MySQLJDBCDataModel class…
Benya16
  • 177
  • 1
  • 15
1
vote
1 answer

Why is the evaluation of Mahout Recommender Systems with Movielens dataset so slow?

I have written a simple User-User recommender and evaluation code in mahout. The recommender works fine but as soon as I add the evaluation part it takes forever to get a result from "Movielens1m" dataset in Eclipse Is it normal? How long should it…
1
vote
1 answer

collaborative filtering with implicit feedback , How to set preferences?

I have a dataset with only two fields itemId, productid, i would like to try mahout ALS or mllib for implicit feedback, is the best approach to create the preference column in the dataset with all 1's? reading koren paper (Collaborative Filtering…
1
vote
1 answer

Issue with big file when use mahout

I have problem when I try to launch a big file when use User-Based Recommender. I follow the "tutorial" step by step and launch the example and don't have any problem, but when I put my file (have 100k line) have the follow problem: Exception in…
Devjoks
  • 23
  • 4
1
vote
0 answers

Recommender system with time window

What would be procedure in item-item CF if I want to calculate probability or predict count of product purchases for an user in the next seven or ten days based on the purchasing history? For example if user1 buys two breads this week, what is the…
Moki
  • 199
  • 1
  • 4
  • 15
1
vote
1 answer

How to use pydelicious to get bookmark data with user mapping

To experiment with a recommender, I want a good amount of data consisting of users-bookmarks mapping, optionally with some user info, page tags etc. I am trying to use pydelicious to do that but not able to. Through a book I was referring to, I am…
labyrinth
  • 1,104
  • 3
  • 11
  • 32
1
vote
1 answer

Tanimoto Coefficient in mhout return only 1.0 as prediction value

I have tried to run mahout framework and use Tanimoto coefficient on set of items. Fortunately, it works with me, however, it returns value 1.0 for all predicted items, the code was as follow: public static void main(String[] args) throws Exception…