I am trying to find the correlation(sim ilarities) between records of a database using PHP. I would like to do this using arrays. Any suggestions on how this could be implemented as I have not found any ressouces on the topic.
correlation help!
Collapse
X
-
I am actually trying to develop a web application that will recommend products to a user depending on his preferences.
The user will answer simple questions on a form and after submitting the form the matching product will be returned.
But to do so i need to compare the user input to the products by finding their similarities; the more similar they are the better the match.
This is what i cannnot figure out by now; i have made the form and connected it to my MySQL database and i can run simple queries on it.
I hope this explains it
ThanksComment
Comment