Jump to content

Help with user matching algorithm?


dajohnson1s

Recommended Posts

Hello,

 

This is my first posting, and apologize if I have missed any posting protocols. 

 

I have been given a project that would allow students and alumni to do a 'mentoring' program.  Unfortunately, this project has been launched already, and we have gotten an overwhelming request for the program.

 

I am having a little trouble understanding/deciding how to develop an algorithm to 'rank' attributes for the students and match them with the list of alumni (and vice versa) and greatly need some input.  What I have gathered thus far for requirements are:

 

Students

[*]Geographical location

[*]Major

[*]Interests

Alumni/Mentor

[*]Geographical Location

[*]Profession

[*]Year in Profession

[*]Major

[*]Interest

 

Specifically, I am a little confuse how to compute an Alumni with 10 years of experience in "Web Development" but has a burning passion for 'Embedded Systems', or even a hobby, like sky diving.  My goal would be to provide a 'top 10' for both Mentor and Student.  And I greatly need some guidance on this, as a student, I feel if this isn't introduce and function fairly well, it will crash and burn.

 

Daniel

 

 

Link to comment
https://forums.phpfreaks.com/topic/192840-help-with-user-matching-algorithm/
Share on other sites

Well, what is your means of data storage for this? If you are using mysql, you could have a separate table for students, and another for alumni/mentors, with each of your descriptions being the column headers. From there, you could extract information and sort based on criteria from that information.

Yes, I will store the data in mysql. 

 

The only thing I can envision doing is a 'basic' query to show which users have the common attributes.  I thought it would be neat to have something like:

 

John Doe has 86.9% of the same interests

 

But maybe that would be overkill, or inappropriate for a baseline system.  I think for now, I will just do a plain search for people with the same interests, the go from there.

 

I will post back when I have more information, and hopefully something functional.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.