seldon-server icon indicating copy to clipboard operation
seldon-server copied to clipboard

end point for item based recommendation

Open ZhiminHeGit opened this issue 7 years ago • 6 comments

is it possible to have a RESTFUL api end point that returns a list of items based on one item? e.g GET /items/{item_id}/recommendations thank you

ZhiminHeGit avatar Apr 07 '17 20:04 ZhiminHeGit

I think there are two parts to this.

  1. an exposed endpoint for item similarity
  2. adding item similarity algorithms

The first is a bit more complex as a new external and internal API would need to be defined to handle item recommendations as opposed to user recommendations.

However, the second is actually probably easier as there are already item similarity examples. See, http://docs.seldon.io/content-recommendation-example.html

The python code already supports several types of similarity models : gensim_lsi,gensim_lda,gensim_rp,sklearn_nmf

So as a hack you could always build an above document similarity model and serve recommendations by sending in the item_id with any user_id (as it will be ignored)

ukclivecox avatar Apr 10 '17 15:04 ukclivecox

https://docs.seldon.io/en/latest/content-recommendation-example.html this link is not active @cliveseldon many docs link are invalid

pnutmath avatar May 10 '21 10:05 pnutmath

@pnutmath This project is now deprecated.

ukclivecox avatar May 10 '21 10:05 ukclivecox

Okay thanks for response :) , let's archived it!

Can you suggested me where I can start with seldom for recommendation engine?

pnutmath avatar May 10 '21 10:05 pnutmath

At Seldon we focus on general ML deployment so you can look at https://github.com/SeldonIO/seldon-core but the model you want to deploy is up to you. We do have many people using it for recommendations though.

ukclivecox avatar May 10 '21 10:05 ukclivecox

Thanks @cliveseldon

pnutmath avatar May 10 '21 11:05 pnutmath