Amazon Interview Question

How would you implement Amazon's "users who bought this item also bought ..." feature?

Interview Answers

Anonymous

Feb 10, 2013

I think we can implement it by adding some tags to all the product and then rank it. suppose someone bought a camera, so we will search for the products which are having same tags but lower order, like a tripod is having the lower order than a camera. because a person will only think about the tripod after having a camera. again, we can show the feature of you might be interested in this by adding the higher ranked tags, like some other camera.

Anonymous

Feb 12, 2013

Apriori Algorithm in the transactions and items dataset would give the results, Market Basket/Affinity Analysis would be the term to search for.

Anonymous

Mar 6, 2013

http://nikhilvithlani.blogspot.com/2012/03/apriori-algorithm-for-data-mining-made.html u can chk the apriori algo over here