Re: Expert systems in forth

Liste des GroupesRevenir à cl forth 
Sujet : Re: Expert systems in forth
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forth
Date : 05. Jan 2025, 18:31:10
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2025Jan5.183110@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5 6 7 8
User-Agent : xrn 10.11
melahi_ahmed@yahoo.fr (ahmed) writes:
On Sun, 5 Jan 2025 15:09:13 +0000, Anton Ertl wrote:
>
melahi_ahmed@yahoo.fr (ahmed) writes:
I'll see how to change the flow of the inference using the action field
of facts and executing them during the inference, like this we can
choose the next rule to use.
>
Potential improvements:
>
Also have rules that work for both truth and falsness.

Or, more generally, negative rules.  Then there would be:

  bird :- feathers .;
  not bird :- not feathers .;

And then you do not need to ask about wings
>
>
The bat has wings and can fly and it is a mammal.
>
>
>
and egg-laying unless the
answer is "don't know" (supporting that would be another improvement).
>
>
Your example `platypus', it lays eggs, and it is not a bird.

I am referring to your rule

  bird        :- wings , lay-eggs .;

So if you have established that the animal has wings AND lays eggs
(and is not extinct), it's a bird.  With the negative rules one could
also specify

  not bird :- not wings .;
  not bird :- not lay-eggs .;

Until now, I assume: no equivalent to unknown.
Three level logic: yes/no/unknown (true/false/unknown)can be
implemented.
Perhaps, Carnaugh tables can be helpful.

Strangely, even though there are a lot of people working on logic in
my school, I have never heard of any work in that direction.  But I
would be very surprised if that was uncharted land.

- anton
--
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: https://forth-standard.org/
   EuroForth 2024: https://euro.theforth.net

Date Sujet#  Auteur
4 Jan 25 * Expert systems in forth20ahmed
4 Jan 25 `* Re: Expert systems in forth19ahmed
4 Jan 25  `* Re: Expert systems in forth18ahmed
4 Jan 25   `* Re: Expert systems in forth17minforth
4 Jan 25    +* Re: Expert systems in forth6ahmed
5 Jan 25    i`* Re: Expert systems in forth5mhx
5 Jan 25    i `* Re: Expert systems in forth4ahmed
6 Jan 25    i  `* Re: Expert systems in forth3mhx
7 Jan 25    i   `* Re: Expert systems in forth2dxf
7 Jan 25    i    `- Re: Expert systems in forth1ahmed
5 Jan 25    `* Re: Expert systems in forth10Anton Ertl
5 Jan 25     `* Re: Expert systems in forth9ahmed
5 Jan 25      `* Re: Expert systems in forth8Anton Ertl
5 Jan 25       +* Re: Expert systems in forth3ahmed
5 Jan 25       i`* Re: Expert systems in forth2Anton Ertl
5 Jan 25       i `- Re: Expert systems in forth1ahmed
5 Jan 25       `* Re: Expert systems in forth4albert
5 Jan 25        +* Re: Expert systems in forth2ahmed
6 Jan 25        i`- Re: Expert systems in forth1ahmed
6 Jan 25        `- Re: Expert systems in forth1dxf

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal