473,378 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

correlation help!

38
I am trying to find the correlation(similarities) 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.
Nov 11 '08 #1
6 1257
Dormilich
8,658 Expert Mod 8TB
could you explain what you mean with correlation (maybe an example could help)? is it in a statistical sense?

regards
Nov 11 '08 #2
Markus
6,050 Expert 4TB
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.
Nov 11 '08 #3
poreko
38
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
Nov 12 '08 #4
Dormilich
8,658 Expert Mod 8TB
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
Nov 12 '08 #5
poreko
38
Thank for your reply but I dont quite understand you. Is there any resources u can recommend for this?
Nov 12 '08 #6
Dormilich
8,658 Expert Mod 8TB
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
Nov 12 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Prince Kumar | last post by:
I have the following query, which is takling couple of minutes to return 500+ rows! I have all the proper indexes and statistics is upto date. I correlation after the OR clause is the culprit....
1
by: Ben | last post by:
I have written a procedure which calls the CORREL function of Excel to run correlation analysis on two arrays, then populate a table with the resulting correlation coefficient. This process loops...
1
by: Gary Wessle | last post by:
Hi I wrote a code to calculate the correlation between 2 sequence of double numbers presented as vectors. did I go about this the right way? thanks #include <vector> using std::vector;
18
by: robert | last post by:
Is there a ready made function in numpy/scipy to compute the correlation y=mx+o of an X and Y fast: m, m-err, o, o-err, r-coef,r-coef-err ? Or a formula to to compute the 3 error ranges? ...
2
by: truthinlife | last post by:
I am running the following commands on an AIX 5.2 server, using db2 udb v8.2.2. my ipcs -mb command gives me the following: IPC status from /dev/mem as of Mon Nov 20 12:47:25 EST 2006 T ID...
3
by: Vivek | last post by:
Hi, Can someone give an example of a query which produces the following warning: SQL0012W Correlation without qualification has occurred for the column "<column>".
1
by: ray pulbrook | last post by:
My questions are can you use access to query correlation and regression analysis or should i link an excel spreadsheet to the database that has those functions specific to the analysis. if you can do...
2
by: Godai | last post by:
Hi! I have to write a C algorithm to calculate Image Correlation between two complex images. Can you give me some advice to begin? Thanks!!! -- Godai
0
by: isthikar | last post by:
hey i am a final year student of b.sc in computing and i am doing my final year project which is a event correlation system to windows domain controller i gona develop using c#.net.... i need some...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.