Best unofficial Apache Server developers community |
|
I have a dataset of users' answers to a predefined list of true/false questions. The data looks like this:
What I need to find are the top 10 best matches for each user (run once for every user in the system). So to be able to find 10 other users in descending order of best match based on answers (i.e. from the example above, user 4 and user 6 are 75% compatible based on their answers). A couple of constraints on this to hopefully make it easier are:
Ideally this should be able to handle people who have answered many various questions that might not be the same for everyone (i.e. they skip questions they don't want to answer. Thanks for any help on this! I'm really at a loss for what to do.
posted via StackOverflow
|
|
 
|
My first though is to use an
Where n is the user_id you wish to test |