mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <>
Subject Re: Setting up a recommender
Date Mon, 22 Jul 2013 18:57:03 GMT
My experience is that TFIDF works just fine, especially as first cut.

Adding different kinds of data, building out backend A/B testing, tuning
the UI, weighting the query all come the next round of weighting changes.
 Typically, the priority stack never empties enough for that task to rise
to the top.

On Mon, Jul 22, 2013 at 11:07 AM, Michael Sokolov <> wrote:

> On 07/22/2013 12:20 PM, Pat Ferrel wrote:
>> My understanding of the Solr proposal puts B's row similarity matrix in a
>> vector per item. That means each row is turned into "terms" = external
>> IDs--not sure how the weights of each term are encoded.
> This is the key question for me. The best idea I've had is to use termFreq
> as a proxy for weight.  It's only an integer, so there are scaling issues
> to consider, but you can apply a per-field weight to manage that.  Also,
> Lucene (and Solr) doesn't provide an obvious way to load term frequencies
> directly: probably the simplest thing to do is just to repeat the
> cross-term N times and let the text analysis take care of counting them.
>  Inefficient, but probably the quickest way to get going.  Alternatively,
> there are some lower level Lucene indexing APIs (DocFieldConsumer et al)
> which I haven't really plumbed entirely, but would allow for more direct
> loading of fields.
> Then one probably wants to override the scoring in some way (unless TFIDF
> is the way to go somehow??)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message