correlation help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • poreko
    New Member
    • Nov 2006
    • 38

    correlation help!

    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.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    could you explain what you mean with correlation (maybe an example could help)? is it in a statistical sense?

    regards

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      Please do not over-do it with the punctuation. One exclamation mark is quite enough.

      Can you post the code you have tried, using code tags?

      Mark.

      Comment

      • poreko
        New Member
        • Nov 2006
        • 38

        #4
        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

        Thanks

        Comment

        • Dormilich
          Recognized Expert Expert
          • Aug 2008
          • 8694

          #5
          you need to make a model how to select a product by the questions used. this could be tags associated to the products (which you select by the questions). you might even have to do a research on the topic.

          regards

          Comment

          • poreko
            New Member
            • Nov 2006
            • 38

            #6
            Thank for your reply but I dont quite understand you. Is there any resources u can recommend for this?

            Comment

            • Dormilich
              Recognized Expert Expert
              • Aug 2008
              • 8694

              #7
              since the core problem is rather shop related, I can't offer you much help in figuring out how. the only source I could use is google.

              regards

              Comment

              Working...