expert system of diabetes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sana sodhal
    New Member
    • Jul 2008
    • 9

    expert system of diabetes

    hi
    i need ur help in making my project in visual basic6.0 and that is expert system of diabetes mellatus disease i dnt know what to do so please help me in making whole project and i have to complete this project till 1 september

    i'll wait for reply

    thanks
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    have you started working on that yet or still thinking only of that ?

    Comment

    • jeffstl
      Recognized Expert Contributor
      • Feb 2008
      • 432

      #3
      Uh huh...

      So what is the project objective? Do you have a database set up already? Does it require a database?

      What have you done so far?

      Are there any specific problems you could maybe start with asking for help on?

      Comment

      • sana sodhal
        New Member
        • Jul 2008
        • 9

        #4
        Originally posted by debasisdas
        have you started working on that yet or still thinking only of that ?
        no i'ven't started m very much confused i dnt know what to do i've gathered information about diabetes now the problem is how to make it?

        Comment

        • sana sodhal
          New Member
          • Jul 2008
          • 9

          #5
          Originally posted by jeffstl
          Uh huh...

          So what is the project objective? Do you have a database set up already? Does it require a database?

          What have you done so far?

          Are there any specific problems you could maybe start with asking for help on?
          my project objective is to make an expert system which diagnose a patient when he/she tell his symptoms and sytem will suggest treatment.
          the system will have knowledge of disease and,what tests are required and database will be used for it but the system should take decision on the bases of any decion model
          ok
          thanx

          Comment

          • debasisdas
            Recognized Expert Expert
            • Dec 2006
            • 8119

            #6
            DOES THAT INVOLVE ANY DATABASE ?

            WHAT HAVE YOU DONE SO FAR ?

            Here we only assist to those who show effort ,we never provide complete code for anything to anyone as you have posted here.

            Comment

            • sana sodhal
              New Member
              • Jul 2008
              • 9

              #7
              Originally posted by debasisdas
              DOES THAT INVOLVE ANY DATABASE ?

              WHAT HAVE YOU DONE SO FAR ?

              Here we only assist to those who show effort ,we never provide complete code for anything to anyone as you have posted here.
              yes it involves database?i've started with login form and patients iformation form.

              Comment

              • debasisdas
                Recognized Expert Expert
                • Dec 2006
                • 8119

                #8
                are you struck anywhere ?

                Comment

                • alkeshnayak
                  New Member
                  • Jul 2008
                  • 5

                  #9
                  u;ll find some code here for ur requirenemt
                  http://www.planet-source-code.com/vb/default.asp?lng CId=70823&lngWI d=1

                  but as debasisdas said... u must have to do something your self..

                  Comment

                  • AIProgrammer
                    New Member
                    • Jul 2008
                    • 28

                    #10
                    Hi,
                    An expert system is another name for a rule based system. Here, you need following, regardless of which expert system you make:
                    1. Data Entry / Input (Information level)
                    2. Create a knowledge base (which you may call 'database' is you so wish) [knowledge level]
                    2. A set of rules. [Intelligence level]

                    I myself developed one expert system package for 'Radiation Fog Prediction : Fuzzy Logic Approach' ,using VB 6.0 , VBA and MS Excel, and what I would suggest is:

                    1. Take user inputs within VB 6.0 itself.
                    2. Keep you rules in an excel sheet (Acess them using Visual Basic for Applications (VBA) commands.
                    3. Match the antecedant (hope you know what an 'antecedant' is, if you are going to develop an Expert system package, with your data from you Knowledge Base. FIRE those rules which match.
                    (One point : A rule is simply to be implemented as an if-then OR if-then-else. There is no big- hype about it.)
                    4. After you fire your rules, make an aggregate of all the conclusion parts (R.H.S. of the rule.)
                    5. GIve an expert answer using it, which might answer to an optimization, decision, prediction or some other type of problem.

                    These are general guidelines for an expert system. If this doesn't clarify, then write DETAILS about what kind of expert system you would develop, FUZZY or CRISP, approximate no. of RULES (which determines whether you 'hard-code' them in VB, or use a file/DB to store them, also where you store other knowledge-data is also important , inside or out of VB , which again depends upon the amount of data being processed.

                    Having witten one expert system package, and about to write the next one, I can say that expert system programming is ENTIRELY AD-HOC, and the person writing it, i.e. you, have to make choices about how to go about it, depending upon the SCALE OF THE PROJECT.

                    Think that should give you some idea.

                    Bye.

                    Comment

                    • sana sodhal
                      New Member
                      • Jul 2008
                      • 9

                      #11
                      Originally posted by AIProgrammer
                      Hi,
                      An expert system is another name for a rule based system. Here, you need following, regardless of which expert system you make:
                      1. Data Entry / Input (Information level)
                      2. Create a knowledge base (which you may call 'database' is you so wish) [knowledge level]
                      2. A set of rules. [Intelligence level]

                      I myself developed one expert system package for 'Radiation Fog Prediction : Fuzzy Logic Approach' ,using VB 6.0 , VBA and MS Excel, and what I would suggest is:

                      1. Take user inputs within VB 6.0 itself.
                      2. Keep you rules in an excel sheet (Acess them using Visual Basic for Applications (VBA) commands.
                      3. Match the antecedant (hope you know what an 'antecedant' is, if you are going to develop an Expert system package, with your data from you Knowledge Base. FIRE those rules which match.
                      (One point : A rule is simply to be implemented as an if-then OR if-then-else. There is no big- hype about it.)
                      4. After you fire your rules, make an aggregate of all the conclusion parts (R.H.S. of the rule.)
                      5. GIve an expert answer using it, which might answer to an optimization, decision, prediction or some other type of problem.

                      These are general guidelines for an expert system. If this doesn't clarify, then write DETAILS about what kind of expert system you would develop, FUZZY or CRISP, approximate no. of RULES (which determines whether you 'hard-code' them in VB, or use a file/DB to store them, also where you store other knowledge-data is also important , inside or out of VB , which again depends upon the amount of data being processed.

                      Having witten one expert system package, and about to write the next one, I can say that expert system programming is ENTIRELY AD-HOC, and the person writing it, i.e. you, have to make choices about how to go about it, depending upon the SCALE OF THE PROJECT.

                      Think that should give you some idea.

                      Bye.

                      thanx

                      i've started to design the knowledge base bus but m confuse that how will i proceed?actuall y my teachers has said to use decision theory models now what are they and how i'll use them after completing the knowledge base?should i mail you whatever i've done?

                      Comment

                      • AIProgrammer
                        New Member
                        • Jul 2008
                        • 28

                        #12
                        Originally posted by sana sodhal
                        thanx

                        i've started to design the knowledge base bus but m confuse that how will i proceed?actuall y my teachers has said to use decision theory models now what are they and how i'll use them after completing the knowledge base?should i mail you whatever i've done?
                        Hi,

                        See, decision theory models are nothing but what their name implies, and that's the case with most 'things' (theories. models, protocols etc.). They are 'models' which help you to make decisions. Now they are of two kinds, one 'prescriptive' (yielding theoritically the 'optimal' [call it 'best' if you like] decisions) about 'things' i.e. either a value of a variable, a 'cost' of a function, and in general, the 'extent' (or degree) of anything , and the other 'descriptive', which gives 'good' i.e. 'sub-optimal' value or 'extent' of these things.

                        By the way, a 'model' simply means an abstraction or a stripped down, simplified version of the real thing.(Here we do not consider real world, but a model of it).

                        Now, you might be wondering why not make the best decision always??? The reason is simply that all decisions are made in 'real' world under 'real' situations, which are more often than not, 'non-ideal' [non-best]. There are many ways to deal with these 'real' situations to make the decision as 'optimal' [good] as possible. The most common one is Statistical/Probabilistic one, which makes use of Bayes' theorem of Probability [ the 'simple' probability we are taught]. Others make use Dempster-Shafer theory[ where you i.e. the 'expert' gets a chance to assign 'subjective' probabilities where they don't exist, or can't be found out.

                        The one more mature for this situation [according to my judgement], would be to employ Fuzzy-decision model. Though, as I told earlier, it is YOUR EXPERT SYSTEM, TAKE THE FREEDOM OF DESIGNING IT AS YOU LIKE. DON'T THINK THAT YOU HAVE TO, THINK YOU CAN, AND MAKE INDEPENDENT DECISIONS. THAT IS WHAT AN 'EXPERT' IS SUPPOSED TO DO.
                        But as have not seen anything of the system as of yet, so I say that there is an equal chance of the other models being useful as well.

                        Yes, you MAY mail me. Let's see if I could take some time out to go through all the stuff.

                        By the way, who is your teacher? He/She is supposed to guide you too if he/she tells you that 'do this...' i..e. tell also that 'do this in that way...'. If I were in your place I would have first 'eaten-up' the mind of my teachers thouroughly. Ab advice is: try eating your teachers' mind thoroughly. THE NEXT TIME THEY WILL GIVE YOU AN EASY-OFF PROJECT. THAT'S TRIED AND TESTED. My Engineering Course taught me that well.......

                        Bye.

                        Comment

                        • AIProgrammer
                          New Member
                          • Jul 2008
                          • 28

                          #13
                          Originally posted by sana sodhal
                          thanx

                          i've started to design the knowledge base bus but m confuse that how will i proceed?actuall y my teachers has said to use decision theory models now what are they and how i'll use them after completing the knowledge base?should i mail you whatever i've done?
                          Hi,

                          One more thing I would like to mention. As I told, you may keep the rules in an excel sheet. Then import them as Strings. Then do an if -then comparision to determine which rule to fire. This (the Strings) would make your task easier. Also, you may keep the data as Integer etc. (suppose they are numbers), or may keep them as Strings if they are what are known as Linguistic Variables (for e.g. HIGH, LOW etc.). Try it. Feel free to contact further for any queries you have.

                          Bye.

                          Comment

                          • sana sodhal
                            New Member
                            • Jul 2008
                            • 9

                            #14
                            Originally posted by AIProgrammer
                            Hi,

                            One more thing I would like to mention. As I told, you may keep the rules in an excel sheet. Then import them as Strings. Then do an if -then comparision to determine which rule to fire. This (the Strings) would make your task easier. Also, you may keep the data as Integer etc. (suppose they are numbers), or may keep them as Strings if they are what are known as Linguistic Variables (for e.g. HIGH, LOW etc.). Try it. Feel free to contact further for any queries you have.

                            Bye.
                            Hi

                            thanx alot for your guiding me.M very happy form your response.Well my teacher don't tell any thing he says that he have no idea how to apply models so I should take help from any1 else you know I have wasted my ! month in for this no 1 cleared m any thing I want my project perfect but I don't have such knowledge that what and where any thing should be implemented seriously m very tense and confused about it if a teacher don't know than why he ask m to do so:(
                            you know he said that make this expert system in prolog language and i'vent seen it I said will teach m he said I don't know any thing about it even no one in our department knows it:(
                            than I decided to make it in VB.You didn't tell where should I mail my work?can you tell m ur email address?

                            bye

                            Comment

                            • r035198x
                              MVP
                              • Sep 2006
                              • 13225

                              #15
                              Site guidelines don't allow exchange of email addresses in the public forums. Please read them and obey them.

                              If you google prolog you'll get lots of information on it and even some free compilers. I suggest you forget about the interface for now and concetrate on your rules and knowledgebase. Reply #10 in this thread has some good starting points (except that I would use a database rather than excel sheet to store my data).

                              Comment

                              Working...