Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to create a program that decides which option best suits a certain query based on previous queries and their respective suggestions proposed. Basically, 'training' the system to have an idea which suggestion most suits a question.

Example:

In this scenario patients input a Appointment number to see a doctor in a specific ward. Previous data is as follows:

Appointment Number: 257 Ward Directed to: 28
Appointment Number: 352 Ward Directed to: 10
Appointment Number: 546 Ward Directed to: 35
Appointment Number: 234 Ward Directed to: 28

As you can notice, the appointment numbers within the 200-300 range have been directed to the Ward 28. Here onward, the system will know that this range should be directed to the ward 28.

Since this is the analysis stage I'm in right now, What most effective method should I use to develop this system? Machine Learning? Statistics?
Posted
Comments
[no name] 20-Mar-15 11:07am    
I think the Apriori-Algorithm would be suitable
Peter Leow 20-Mar-15 13:09pm    
This is hardly real. Overly simplistic.
Dinuka Jayasuriya 20-Mar-15 13:45pm    
Your suggestion?
Peter Leow 20-Mar-15 14:16pm    
You have to take into account real world scenarios with real data. Predicting the ward based on a single feature, i.e. appointment number, is overly simplified. I would think that, among other things, a patient is given a certain doctor or ward based on his illness, medical history, and whether it is a follow up or referral, and the availability of doctor and ward, rather than basing on his appointment number.

1 solution

I think the Apriori-Algorithm would be the right tool for your requirement. An excerpt from an article about that[^] here on CodeProject:

The whole point of the algorithm (and data mining, in general) is to extract useful information from large amounts of data. For example, the information that a customer who purchases a keyboard also tends to buy a mouse at the same time is acquired from the association rule below [..]

Other sources you'll find here:
http://en.wikipedia.org/wiki/Apriori_algorithm[^]
https://www.google.com/search?q=apriori+algorithm&ie=utf-8&oe=utf-8[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900