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
u1,a1 u1,a2 u1,a3 u1,a4 u1,a5 u2,a1 u2,a2 u2,a3 u2,a4 u2,a5 u3,a1 u3,a2 u3,a3 u3,a4 u3,a5 u4,a3 u4,a4 u4,a5 u5,a3 u5,a4 u5,a5 u6,a6 u6,a7 u6,a8 u6,a9 u6,a10 u7,a6 u7,a7 u7,a8 u7,a9 u7,a10 u8,a6 u8,a7 u8,a8 u8,a9 u8,a10 u9,a6 u9,a7 u9,a8 u9,a9 u9,a10 u10,a6 u10,a7 u10,a8 u10,a9 u10,a10
