expert system ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZAIN786
    New Member
    • Aug 2007
    • 9

    expert system ?

    hi
    actually i want to make a expert system in c or c++ how will i do that
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    I thought you wanted to make an "expert system" in VB.NET?

    Seriously, I have no idea what an "expert system" is.

    Comment

    • gpraghuram
      Recognized Expert Top Contributor
      • Mar 2007
      • 1275

      #3
      Better add more information so that it will be easy for the people to help u.

      Raghu

      Comment

      • Savage
        Recognized Expert Top Contributor
        • Feb 2007
        • 1759

        #4
        Which expert system?
        What do you want your expert system to be able to do?
        Have you any ideas on how to design one and ultimately start coding one?
        Did you ever programmed AI before?

        Without more info we can't help you.


        PS:It's highly recommended for you to read our posting guidelines.They will help you to ask your question properly and minimize the time required for us to answer it.

        Comment

        • ZAIN786
          New Member
          • Aug 2007
          • 9

          #5
          expert system ?

          yea actually i was bit confused regarding my language(c++ or vb.net) thats why i posted on bth sry and expert system i mean like when user ask somethign it should reply and its reply should be relevant i dont want the full code from u or the whole design i jst want rough idea on how should i work on it ....rest i will do
          cheers
          bye

          Comment

          • Savage
            Recognized Expert Top Contributor
            • Feb 2007
            • 1759

            #6
            Originally posted by ZAIN786
            yea actually i was bit confused regarding my language(c++ or vb.net) thats why i posted on bth sry and expert system i mean like when user ask somethign it should reply and its reply should be relevant i dont want the full code from u or the whole design i jst want rough idea on how should i work on it ....rest i will do
            cheers
            bye
            Every expert system needs to have it's knowledge base so it can build a knowledge tree out of it. For e.g,if you would describe him a animal(tiger perhaps) with sufficient data it would traverse the tree and find that animal if there is such a animal in tree.If there isn't it would need to ask you for the name of that animal and then store it in it's knowledge base.

            But the problem is not every user will ask the question in same manner.Solution ?

            Solution is keyword search.
            E.g:

            User might ask this question and expect to get tiger as answer:

            "It's one of four big cats,has nice black vertical stripes,big fangs and claws....

            Knowledge base will be made from if statements

            Code:
            IF mammal
              THEN IF big cat
                IF big claws AND big fangs
                   THEN IF vertical stripes
                      ANSWER Animal is a tiger.
                   ELSE IF ASK Does it have mane?
                      THEN ANSWER Animal is a lion.
                ELSE ...
            
            ELSE ...
            So you basically need to make your simple scripting language and then build a tree from it. Traversing the tree you will hopefully find the answer.Of course it's a good idea to make your keyword searching algorithm case-insensitive.

            I hope this gave you some ideas.

            Comment

            • JosAH
              Recognized Expert MVP
              • Mar 2007
              • 11453

              #7
              Originally posted by Savage
              I hope this gave you some ideas.
              If you want to keep it that simple then you'd better turn it around: make the
              computer ask questions that can be answered by the user by a simple yes
              or no. That'd be the boolean value for the 'if' clauses and you don't need any
              limited form of natural language parsing.

              kind regards,

              Jos

              Comment

              Working...