[Help]Decision Making Algorithm

Results 1 to 5 of 5
  1. #1
    QT is better than VS tearhear18 is offline
    True MemberRank
    Jul 2009 Join Date
    earthLocation
    981Posts

    [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


  2. #2
    Programmer TimeBomb is online now
    ModeratorRank
    May 2008 Join Date
    United StatesLocation
    1,250Posts

    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.
    Hi

  3. #3
    QT is better than VS tearhear18 is offline
    True MemberRank
    Jul 2009 Join Date
    earthLocation
    981Posts

    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.

  4. #4
    Find what makes you, you. MrTarky is offline
    True MemberRank
    Feb 2014 Join Date
    127.0.0.1Location
    265Posts

    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.

  5. #5
    QT is better than VS tearhear18 is offline
    True MemberRank
    Jul 2009 Join Date
    earthLocation
    981Posts

    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



Advertisement