
- [Help]Decision Making Algorithm
-
[Help]Decision Making Algorithm
data models
id, ref_range, value , finding , code
1 , 2 - 5 , 3 , normal , HB
2 , 2 - 5 , 7 , high , HB
3 , 2 - 5 , 1 , low, HB
4 , <4 , 2 , normal , HL
5, <4 , 5 , high , HL
inputs
ref_range, value , code
< 4 , 1 , HL prediction = normal , truth = normal
< 4 , 4.5 , HL prediction = high, truth = normal
2 - 5 , 2.3 , HB prediction = normal , truth = normal
any reference to achieve this prediction in python?
thanks guys
anyone can suggest how to achieve this in python any reference document?
thanks for your help
-
-
Re: [Help]Decision Making Algorithm
Can you explain more about what you're trying to predict exactly?
Additionally, make sure to tell us:
- What do HL/HB stand for?
- What do the columns in both data sets mean exactly?
Even if we had all the information necessary here, you shouldn't be looking for someone to hand you the entire answer on a silver platter - that's not how programming should work, and that's definitely not how you learn.
What have you tried so far?
Maybe you've thought of something that doesn't quite work?
Is there anything you're aware of or that any of your colleagues/classmates have learned that may be applicable here? Even listing out some potential ideas would be helpful.
-
Re: [Help]Decision Making Algorithm
Can you explain more about what you're trying to predict exactly?
Additionally, make sure to tell us:
- What do HL/HB stand for? ans: sample clinical code
- What do the columns in both data sets mean exactly? reference range, values, and findings it is pretty straight forward in header name
Even if we had all the information necessary here, you shouldn't be looking for someone to hand you the entire answer on a silver platter - that's not how programming should work, and that's definitely not how you learn.
I am not expecting someone will hand me the entire solution, I am just actually trying to get any additional information that might help me to do this kind of prediction, and I didn't even ask CODE, instead ask reference.
What have you tried so far? i have already python decision tree, I am just roaming for other alternatives or efficient algorithm.
the rest of your question is irrelevant.
-
Find what makes you, you.
Re: [Help]Decision Making Algorithm
I am not sure what are you trying to achieve here. What I am thinking is that you want to output something depending on the data, so maybe some "if" conditions. Depending on which value the user inputs you will output some other value.
You should provide more detailed information so we can look into it.
-
Re: [Help]Decision Making Algorithm
I have this sample models....
ref_range, value , finding , code
2 - 5 , 3 , normal , HB
2 - 5 , 7 , high , HB
2 - 5 , 1 , low, HB
<4 , 2 , normal , HL
<4 , 5 , high , HL
now base on these sample models
the system can predict the findings base on sample models
sample input
value: 1
code: HL
finding: ?
finding prediction should be normal base on sample model since value 1 is less than 4 base on ref_range
if sample input
value: 10
code: HL
finding: ?
finding prediction is high since base on sample model the normal ref_range is < 4