mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Inconsistent recommendations
Date Wed, 03 Jun 2009 19:29:46 GMT
Hello,

I haven't debugged this yet, but I was playing with sampling rate in Taste and noticed a weird
behaviour where the recommender doesn't give consistent results -- when it gives them they
are always the same, but sometimes it doesn't give them.  For example:

 
$ curl 'http://localhost:8080/re/recommend?userID=u4&howMany=10'
a1
a2
$ curl 'http://localhost:8080/re/recommend?userID=u4&howMany=10'
a1
a2
$ curl 'http://localhost:8080/re/recommend?userID=u4&howMany=10'    -- no recommendations
from this call!
$ curl 'http://localhost:8080/re/recommend?userID=u4&howMany=10'
a1
a2
$ curl 'http://localhost:8080/re/recommend?userID=u4&howMany=10'    -- no recommendations
from this call!
$ curl 'http://localhost:8080/re/recommend?userID=u4&howMany=10'
a1
a2

Another way to see this is if I use different sampling rates and collect output, like this:
$ for x in `seq 1 1000`; do curl --silent 'http://localhost:8080/re/recommend?userID=u4&howMany=10';
done > (output file here)

I get this:

-rw-r--r-- 1 otis otis 5994 2009-06-03 15:24 out-1-sr0.8
-rw-r--r-- 1 otis otis 5988 2009-06-03 15:24 out-2-sr0.8    -- different outputs!

-rw-r--r-- 1 otis otis 6000 2009-06-03 15:23 out-1-sr0.9
-rw-r--r-- 1 otis otis 6000 2009-06-03 15:23 out-2-sr0.9

-rw-r--r-- 1 otis otis 6000 2009-06-03 15:22 out-1-sr0.99
-rw-r--r-- 1 otis otis 6000 2009-06-03 15:22 out-2-sr0.99

-rw-r--r-- 1 otis otis 6000 2009-06-03 15:20 out-1-sr1.0
-rw-r--r-- 1 otis otis 6000 2009-06-03 15:21 out-2-sr1.0

If this worked consistently, the outputs should be identical, no?

This doesn't look normal...bug?
I'm attaching my sample input (but ML software may strip it).

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

Mime
View raw message