I have to say that once again I wonder if you have read any of the
materials I mentioned, because "is" or "kind-of" is usually
represented as Inheritance, which is discussed in almost every
publications on NARS. Other relations you mentioned, such as "like",
"living", "working", etc., are handled by the "ordinary relation"
mechanism introduced in NAL-4, which is also discussed in many of the
publications.
If you think you can start to work on concrete examples, and solve the
problems you run into by this kind of email discussion, I'm afraid it
is not going to work. Even though I (and the others, I believe) will
help, the issues are simply too complicated and time-consuming to be
solved in this way.
Pei
> What I cant
> do, is to spend month learning something which will not do the job.
> This would be a total waste of effort and I am sure you appreciate
> that.
not totally as you would have learned stuffs ;)
>
> The example I mentioned is fairly simple. The issue is translating it
> to the NARS syntax. This seems to be the problem (from what I can
> gather so far).
I'm porting NARS to squeak and I'm not familiar with logic expression
especially when it becomes complicated (see third links). But NARS is
really expressive.
Have a look at:
http://code.google.com/p/open-nars/wiki/InputOutputFormat
then
http://code.google.com/p/open-nars/wiki/SingleStepTestingCases
then
http://code.google.com/p/open-nars/wiki/ProceduralExamples
Also, for the overview: http://code.google.com/p/open-nars/wiki/Overview
and especially links at the end.
In my understanding, the basic idea behind term logic (which is
different from usual preidacte logic) is the simplest expression are
"is a"..so
bird --> animal mean bird are animals
John is a man would be John --> man. Actually, in this case, this is a
bit different as John is an instance (instance and properties are
dealt differently)
{John} --> man is the same as John {-- man {} denotes sets
I'm not (yet) interested in logic expression as I focus on control
right now and reasoning. I'll see later :)
But you should read and try to understand. I suggest you propose logic
sentences that allow to express your simple problem without confidence
and truth first, then I'm sure Pei will help you correct them, and
it'll help me too.
>
>> > Another example :
>> > jo likes apples,
I don't know yet how to represent the relation beetween Jo apples and like...
>> > jo likes oranges,
>> > jo does not like banana
>> > grannysmith is-a-kind-0f apple
>>
>> > Goal - Find out if Jo likes grannysmith
>> > does Jo like grannysmith?
>>
>> > 3) How do we describe relationships such as "is" or "kind-of" (i.e. Jo
>> > is human, Jo is a man)
This is the base :)
here I 'll write
Jo {-- human
Jo {-- man
man --> human
Cédrick
I understand your concern --- we all have very limited time. However,
your example is not really "fairly simple" from AI's point of view
(which is very different from human's point of view). Otherwise it
should have been solved by the existing AI techniques.
I'm sorry I really don't have the time to guide you through your
example step by step --- that, with explanation, cannot be put into a
short email. See
http://code.google.com/p/open-nars/wiki/ProceduralExamples for how
complicate a "fairly simple example" can be. Your example won't be
shorter than that one, and even if I give you such a step-by-step
solution, you still won't understand it, given your current knowledge
on NARS.
Or you can wait for a few weeks for the new version, which will come
with more examples. After finishing the new version, I may be able to
work on your example if I have the time, though I cannot promise that
now.
Pei
There not to me either but just try and propose, this is better than
starting explaining from scratch ;)
>
> BTW, can anybody suggest a readable book on "applied probability" and/
> or "uncertain logic"?
especially that in my opinion, there are few book out there that will
help you undestand NARS. It's my opinion but I find NARS a very
original approaches where I really agree on the basics. Said quickly,
traditionnal AI systems and NARS only common points are the vocabulary
use (inference, inference engine, rules, logic, term and so on). But
the implementation is really original. Maybe the more common aspect is
NARSESE the logic language and even there it's no the usual predicate
logic that is used so... you'd really better read Pei's document, and
if needed get informed about the reference he gives :)
Also, you must that I'm also learning so take my advices for what they worth ;)
I'm in the process of understanding "better" how nars works. I've
started this wiki page to links things together (but it's a personnal
memo that a collective one for now). I've taken what's written in the
overview, just reformatted, added stuff...
http://www.squeakside.com/seaside/pier/OpenNARS/Big+Pictures+NARS?
If you cannot get a copy of the book, I strongly suggest to read:
http://www.cogsci.indiana.edu/pub/wang.inheritance_nal.ps for
understanding the core logic.
Also you may want to read that to understand a bit how the system works:
http://nars.wang.googlepages.com/wang.computation.pdf
Good readings ;)
Cédrick
ps: and I forgot, try the software. It's available online. First try
the singlestepinference then the prcedural. Then you should be able to
propose and test expressions for your problem. Once there, you'll have
more precise help :)
Hi Cédrick , Hi Pei, Thank you for your support. I appreciate that we are all time-poor and will continue with my reading and try to get through this. I guess the issue for me is how to translate my "human" example into "logical" components which can be fed into the system. I will go through the ProceduralExamples and see how I do. I am keen to have something with me, when I meet my PhD supervisor end of Aug as I plan to suggest nars as one of the tools for my work.It would be great if I can manage to come up with some answer (even if partial). In the meantime, bear with me as I will come up with more questions (which might be very obvious to you, but not so much to me).
BTW, can anybody suggest a readable book on "applied probability" and/ or "uncertain logic"? cheers tomcat
-- "The close and thoughtful observer more and more learns to recognize his limitations. He realizes that with the steady growth of knowledge more and more new problems keep on emerging." Johann Wolfgang Von Goethe : (1749 - 1832)
Russell,Norvig - AI - Artificial Intelligence
A Modern Approach - 2nd Edition
Chapter 14, Uncertainty
and
Chapter 15, Probabilistic Reasoning Systems
It should be in nearly all University libraries.
I finally realized that to grasp this stuff required
doing the exercises, reading papers helps only some.