locked
Creating a simple "expert system" using VBNet - any example I can use to get started ?

    Question

  • After operating a process for the last 2 years, learnt a few things and would like to capture the knowledge in a simple "expert system".

    E.g.,
    If condition 1 is xx then check yy  too simple to call an expert system ? Ha.

    If there are VB expert system syntax/function, please clarify.

    Many thanks !
    • Edited by ckumark Friday, June 26, 2009 6:09 PM Fixing thread title bug
    Friday, June 12, 2009 12:42 PM

Answers

  • There are no built in features in VB to do an expert system.

    I did some googling and found a book that might help:

    http://www.devx.com/dotnet/Article/29494?type=kbArticle&trk=MSCP

    Here are some links to some rules engines:

    http://csharp-source.net/open-source/rule-engines

    Hope this helps.
    www.insteptech.com
    We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
    Friday, June 12, 2009 5:11 PM
  • Hi Renee! and PL and DeborahK,

    http://en.wikipedia.org/wiki/Expert_systems

    Think it should still be possible to create an expert system in VB but I'm one of those sorts of people who like to use the right tool for the job. Expert systems to me are in the AI field of programming which VB isn't. However they are all about If Then rules and so it should be possible with the rule engines posted before.

    IT policies are a pain in the thyroid. We had a policy that states we could only develop in VB or Fortran because thats what our developers can read and write; in other words we had a policy in place to halt our abilities to solve new problems with the best technologies available. I got it removed to introduce Ruby (for DSL and Rake) and Python (to replace Matlab at silly dollars a license) but it's caused one or two senior developers to panic because they now fear the progress that will come and their inability to keep up.

    In other words policy helps keep some developers comfy and safe at the expense of making systems more difficult to develop.


    www.dsmyth.net | www.dsmyth.net/wiki
    Saturday, June 13, 2009 8:42 PM

All replies

  • There are no built in features in VB to do an expert system.

    I did some googling and found a book that might help:

    http://www.devx.com/dotnet/Article/29494?type=kbArticle&trk=MSCP

    Here are some links to some rules engines:

    http://csharp-source.net/open-source/rule-engines

    Hope this helps.
    www.insteptech.com
    We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
    Friday, June 12, 2009 5:11 PM
  • Deborah,

    Many many thanks for your help !

    Will digest them and see what I can put together.

    Regards,

    PL
    Friday, June 12, 2009 11:50 PM
  • Hai,

    Leaned about expert systems a long time ago and when I did it was through a language called Prolog. Most of an expert system is down to an inference rules engine but I also think a natural language interface, the ability to create new rules (learn) and backtracking was important also. Anyway it was a long time ago and the knowledge has been lost but I think that the .NET languages aren't really suitable for these kind of systems, thats just my opinion though, however I think it would be worth your time having a quick poke around at AI languages like Prolog and Lisp to see if what your looking to do can be done easier. These languages are designed to help develop expert systems.

    Best of luck PL.
    www.dsmyth.net | www.dsmyth.net/wiki
    Saturday, June 13, 2009 1:02 AM
  • Derek,

    Thanks.

    I had a brief introduction to Prolog and Lisp in the 80's.

    Sad to say I have forgotten most of it.

    With continual software improvement, I thought the ES programming part would be simplified and also VB taking up some of the ES drive.

    On using Prolog or Lisp for my intended application, I am limited to VB due to company's IT system and policy.

    Thanks !

    PL
    Saturday, June 13, 2009 1:10 AM
  • If they have a policy and they are giving you tasks which conflicts with the policy, where does that leave you?
    Renee
    Saturday, June 13, 2009 5:26 PM
  • Hi Renee! and PL and DeborahK,

    http://en.wikipedia.org/wiki/Expert_systems

    Think it should still be possible to create an expert system in VB but I'm one of those sorts of people who like to use the right tool for the job. Expert systems to me are in the AI field of programming which VB isn't. However they are all about If Then rules and so it should be possible with the rule engines posted before.

    IT policies are a pain in the thyroid. We had a policy that states we could only develop in VB or Fortran because thats what our developers can read and write; in other words we had a policy in place to halt our abilities to solve new problems with the best technologies available. I got it removed to introduce Ruby (for DSL and Rake) and Python (to replace Matlab at silly dollars a license) but it's caused one or two senior developers to panic because they now fear the progress that will come and their inability to keep up.

    In other words policy helps keep some developers comfy and safe at the expense of making systems more difficult to develop.


    www.dsmyth.net | www.dsmyth.net/wiki
    Saturday, June 13, 2009 8:42 PM
  • Renee,

    No, it is not a task given to me. I came up with the idea as I may be leaving / changing job soon. We have struggled to keep the process going and now it is doing, if I may say so myself, better than expected. So, want to pass on what I know in an ES for the future.

    Thanks.

    PL
    Saturday, June 13, 2009 11:57 PM