General Question

frankielaguna's avatar

Product recommendations?

Asked by frankielaguna (256points) May 18th, 2008

I am working on a project, and we want to be able to recommend a products to a user, sort of like Amazon.com. I am not 100% sure on how to go about this. Does anyone know of any good resources or some suggested reading? Maybe a script that does something like this.

Observing members: 0 Composing members: 0

10 Answers

Breefield's avatar

Well, you’ve conjured up quite a project for yourself. To make a script specific to your needs you’ll probably need to know a language like PHP and have access to a database like MYSQL. You’ll also need a ton of data to fill that database with – you can’t test what you don’t have. All in all, getting that data is pretty hard. You could of course make up fake data and go about it that way, but all in all, I think if you don’t know any programming languages then you’re kinda screwed.

Breefield's avatar

Oh, I see in your profile that you already have the PHP stuff down :p

frankielaguna's avatar

I am very fluent in PHP and MySQL. I have a bunch of data to play with, but I’m not sure what to do with it. How do I determine what to recommend? What methods are there to go about this.

My head is about to explode from this, :)

Any suggestions would be much appreciated!

Breefield's avatar

Does the data have tags or descriptions?

Breefield's avatar

I have to head out, but I’ll leave you with this.
If you can somehow give the data tags or descriptions from which you can harvest tags then you’re up a creek.
Another alternative is if the data has a list of users who bought what then you could compare which users bough the two same items and from that you can show a recommendation for each project.

frankielaguna's avatar

It has descriptions but I can easily make tags for them that shouldn’t be too hard. I’m really just looking for ideas..

Breefield's avatar

Ah, what kind of ideas? Layout, etc. or…?

frankielaguna's avatar

on a method of determining what to auggest

Breefield's avatar

Determine it based on how close the two tags are related. They’d have to be the same, or how many tags the two products share.

KirillN's avatar

The algorithm for proper recommendation is quite scientific and you’ll need to read a few papers on it (link). There are currently several popular approaches. One is based on buying history analysis and the other is based on the browsing history analysis. They are similar and go like this:

The history shows that one customer looked at products A, B, and C and purchased B. Another customer that purchased B also looked at C. Another customer that purchased B also looked at A. And so on. You count the hits for each product combo within a browsing or buying session and that gives you relevance metric to determine that products are related or not.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther