Pergunta

I'm using lenskit recommender toolkit in Netbeans 7.4 to build a movie recommendation engine and now I'm finalizing it. So my question is how will I be able to integrate it into Web to build a Movie Recommendation Website?
I've already visit the GitHub getting started site for lenskit here and I've found the keyword web integration, click that but nothing helped me.
Sorry for the vague question but can you help me or give some advice on how to start? Thank you!

Foi útil?

Solução

There are two main things you need to do:

  1. Create a RecommenderEngine containing your model, configuration, etc. This will be a global object shared between all web requests. You can also build it in a separate program, serialize it to disk, and read it back in.
  2. In each web request, use the createRecommender() method to get a Recommender for that request to use.

You'll need to handle data access; there is some documentation on that here: https://github.com/grouplens/lenskit/wiki/DataAccess

LensKit 2.0 was a bit weak on web integration; LensKit 2.1 makes it significantly easier. Look for a 2.1 milestone release very soon.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top