Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Is knowledge knowable? If not, how do we know that?


devel / comp.lang.xharbour / Re: AI/ML

SubjectAuthor
* AI/MLtimepro timesheet
+* reElla Stern
|+* Re: retimepro timesheet
||`* AI/MLtimepro timesheet
|| `* Re: AI/MLMel Smith
||  +* Re: AI/MLElla Stern
||  |`* Re: AI/MLMel Smith
||  | `- Re: AI/MLElla Stern
||  `* Re: AI/MLtimepro timesheet
||   `* Re: AI/MLMel Smith
||    +* Re: AI/MLElla Stern
||    |+- Re: AI/MLtimepro timesheet
||    |+- Re: AI/MLDan
||    |`* Re: AI/MLDan
||    | `* Re: AI/MLMel Smith
||    |  `* Re: AI/MLMel Smith
||    |   `* Re: AI/MLDan
||    |    `- Re: AI/MLMel Smith
||    `- Re: AI/MLtimepro timesheet
|`* Re: reDan
| `- Re: retimepro timesheet
`* Re: AI/MLtimepro timesheet
 +- Re: AI/MLElla Stern
 `- Re: AI/MLtimepro timesheet

1
AI/ML

<123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16732&group=comp.lang.xharbour#16732

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:29cf:: with SMTP id s15mr10441015qkp.363.1627810707967; Sun, 01 Aug 2021 02:38:27 -0700 (PDT)
X-Received: by 2002:ac8:7ed9:: with SMTP id x25mr9610719qtj.202.1627810707829; Sun, 01 Aug 2021 02:38:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sun, 1 Aug 2021 02:38:27 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2409:4040:e0f:66a0:cd1:212d:ab1d:f615; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2409:4040:e0f:66a0:cd1:212d:ab1d:f615
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
Subject: AI/ML
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Sun, 01 Aug 2021 09:38:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 13
 by: timepro timesheet - Sun, 1 Aug 2021 09:38 UTC

all this talk about AI/ML...

my 2 bits (could be my ignorance/lack of knowledge,understanding)
but i reckon there is no such thing as AI in the 'literal sense'.
the coder/programmer is the god.
the machine just cannot perform even the simplest task unless programmed to perform that.
without the software/code written, even the most sophisticated/advanced hardware cannot think on its own.
all the zettabytes of data are inert unless coded to perform any given task.
computers/machines just cannot think on it's own.
AM I WAY OFF?
if i am, would someone dumb AI down...

thanks

re

<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16733&group=comp.lang.xharbour#16733

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:7e9:: with SMTP id k9mr357253qkk.329.1627813346439;
Sun, 01 Aug 2021 03:22:26 -0700 (PDT)
X-Received: by 2002:a05:620a:7e9:: with SMTP id k9mr357237qkk.329.1627813346227;
Sun, 01 Aug 2021 03:22:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sun, 1 Aug 2021 03:22:25 -0700 (PDT)
In-Reply-To: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.78.21.54; posting-account=H3ofRwoAAADbRxQ3Wi989fFKCMQ4Av_J
NNTP-Posting-Host: 82.78.21.54
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>
Subject: re
From: ellailona@gmail.com (Ella Stern)
Injection-Date: Sun, 01 Aug 2021 10:22:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Ella Stern - Sun, 1 Aug 2021 10:22 UTC

Data Science includes Artificial Intelligence, and AI includes Machine Learning. ML has applications in natural language processing (google search since 2012, chatbots etc), voice recognition, sentiment recognition, image recognition (faces, defects in serial production), the so-called autonomous cars.

Doctors are using special database software for a long time, that supports them in diagnosing rare deseases (it’s a case of supervised learning and decision trees); banks are using special software as support for deciding about credits - also based on decision trees.

At kaggle.com if you open the “Courses” link you will find a series of introductory lessons targeted to outsiders, so to get familiar with the data cleaning, model building, training and verifying lingo.

Of course there is a lot of noise around the area, but there are many more value adding applications than those mentioned above. The latest trend is integrating these new possibilities into the human world as supportive technologies, not final decision makers.

On Sunday, August 1, 2021 at 12:38:28 PM UTC+3, timec...@gmail.com wrote:
> all this talk about AI/ML...
>
> my 2 bits (could be my ignorance/lack of knowledge,understanding)
> but i reckon there is no such thing as AI in the 'literal sense'.
> the coder/programmer is the god.
> the machine just cannot perform even the simplest task unless programmed to perform that.
> without the software/code written, even the most sophisticated/advanced hardware cannot think on its own.
> all the zettabytes of data are inert unless coded to perform any given task.
> computers/machines just cannot think on it's own.
> AM I WAY OFF?
> if i am, would someone dumb AI down...
>
> thanks

Re: re

<070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16734&group=comp.lang.xharbour#16734

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:1087:: with SMTP id g7mr10736462qkk.436.1627817697093;
Sun, 01 Aug 2021 04:34:57 -0700 (PDT)
X-Received: by 2002:ad4:5ccc:: with SMTP id iu12mr10751753qvb.47.1627817696977;
Sun, 01 Aug 2021 04:34:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sun, 1 Aug 2021 04:34:56 -0700 (PDT)
In-Reply-To: <ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2409:4040:e0f:66a0:d99a:8836:921c:c7cd;
posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2409:4040:e0f:66a0:d99a:8836:921c:c7cd
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com> <ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
Subject: Re: re
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Sun, 01 Aug 2021 11:34:57 +0000
Content-Type: text/plain; charset="UTF-8"
 by: timepro timesheet - Sun, 1 Aug 2021 11:34 UTC

ella, AI is there. it's a thing. that is not my contention.
tech titans/industries/states... are funding in billions.

my questioning is: no matter how much data in gathered,analysed/no matter the most advance machines/....
it's actually the coder/programmer that directs those systems what/how to perform any given task.
machines/hardware without the coded/programmed applications are just dumb metal boxes.
thus my poser: i reckon there is no such thing as AI in the 'literal sense'.
the coder is the god.
i mean, who decides (and eventually codes) how to analyse the zentabytes of data to reach a specific outcome.

facial recognition/dna testing/voice controlled appliances/robot hand performing operations/self driven vehicles....
isn't a software dictating each instruction (above mentioned) OR, IS ANY MACHINE CAPABLE (BY ITSELF) TO PERFORM A TASK.
and, what is an 'AI' application - isn't it just a software.

AI/ML

<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16735&group=comp.lang.xharbour#16735

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:5e46:: with SMTP id i6mr10111862qtx.326.1627821248694; Sun, 01 Aug 2021 05:34:08 -0700 (PDT)
X-Received: by 2002:a05:6214:da5:: with SMTP id h5mr10963088qvh.19.1627821248578; Sun, 01 Aug 2021 05:34:08 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sun, 1 Aug 2021 05:34:08 -0700 (PDT)
In-Reply-To: <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2409:4040:e0f:66a0:5e5:3684:a4af:2440; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2409:4040:e0f:66a0:5e5:3684:a4af:2440
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com> <ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com>
Subject: AI/ML
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Sun, 01 Aug 2021 12:34:08 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
 by: timepro timesheet - Sun, 1 Aug 2021 12:34 UTC

take this example:

during office/peak hours, the red light on the traffic signal has a longer duration than say...at midnight...
so, would the machine on itself reduce the duration after midnight or does it have to be specifically programmed to do so...

now, if a major sporting event/concert/...ends at midnight and all the cars drive out at the same time on the same road,
(scores of pedestrians are waiting on the kerb to cross road...)
would the traffic signal detect that (maybe from the street cameras) and 'suo motu' linger the red light longer than every other day...or this scenario too has to be coded/programmed in the app. the traffic signal is functioning on.

thanks for reading.

i would highly appreciate if anyone can enlighten me on what exactly is AI.
(more or less, i understand what it does..., but cannot fathom 'how')

Re: AI/ML

<b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16736&group=comp.lang.xharbour#16736

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:6611:: with SMTP id c17mr14224450qtp.392.1627914235533;
Mon, 02 Aug 2021 07:23:55 -0700 (PDT)
X-Received: by 2002:a05:622a:1a11:: with SMTP id f17mr14418206qtb.308.1627914235333;
Mon, 02 Aug 2021 07:23:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Mon, 2 Aug 2021 07:23:55 -0700 (PDT)
In-Reply-To: <cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.52.125.244; posting-account=dQ0_awoAAABF2-Sui2Av5bZD8Vt8zYRC
NNTP-Posting-Host: 96.52.125.244
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
Subject: Re: AI/ML
From: medsyntel@gmail.com (Mel Smith)
Injection-Date: Mon, 02 Aug 2021 14:23:55 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mel Smith - Mon, 2 Aug 2021 14:23 UTC

Interesting discussion !
I'd like both you and Ella to continue digging deeper ...
-Mel

Re: AI/ML

<881c1bef-32e7-4ef0-8f59-92e64d81d0c1n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16738&group=comp.lang.xharbour#16738

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:1465:: with SMTP id j5mr15743941qkl.63.1627919313725; Mon, 02 Aug 2021 08:48:33 -0700 (PDT)
X-Received: by 2002:ae9:e606:: with SMTP id z6mr16212522qkf.152.1627919313435; Mon, 02 Aug 2021 08:48:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Mon, 2 Aug 2021 08:48:33 -0700 (PDT)
In-Reply-To: <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.78.22.150; posting-account=H3ofRwoAAADbRxQ3Wi989fFKCMQ4Av_J
NNTP-Posting-Host: 82.78.22.150
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com> <ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com> <cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <881c1bef-32e7-4ef0-8f59-92e64d81d0c1n@googlegroups.com>
Subject: Re: AI/ML
From: ellailona@gmail.com (Ella Stern)
Injection-Date: Mon, 02 Aug 2021 15:48:33 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: Ella Stern - Mon, 2 Aug 2021 15:48 UTC

Well, this article:
https://www.nature.com/articles/d41586-019-00083-3
is trying to explain to non-mathematicians, that the "learnability problem" is undecidable, so we are free to build a world (axiom system) where it's true, or another world, where it's false.

Currently libraries like OpenCV are using raster images - these are identifying contours by processing 2D pixel arrays.
On the Internet I've found only some research papers about shape-based image recognition, which would use images stored as vectors and curves - there is a long way to go until getting really smart and reliable robots.

On Monday, August 2, 2021 at 5:23:56 PM UTC+3, meds...@gmail.com wrote:
> Interesting discussion !
> I'd like both you and Ella to continue digging deeper ...
> -Mel

Re: AI/ML

<cbc108b3-23cb-4099-954e-8cb491b1c3f2n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16739&group=comp.lang.xharbour#16739

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:13c6:: with SMTP id i6mr14918305qtj.211.1627921037688;
Mon, 02 Aug 2021 09:17:17 -0700 (PDT)
X-Received: by 2002:ac8:59c8:: with SMTP id f8mr14616681qtf.345.1627921037498;
Mon, 02 Aug 2021 09:17:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Mon, 2 Aug 2021 09:17:17 -0700 (PDT)
In-Reply-To: <881c1bef-32e7-4ef0-8f59-92e64d81d0c1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.52.125.244; posting-account=dQ0_awoAAABF2-Sui2Av5bZD8Vt8zYRC
NNTP-Posting-Host: 96.52.125.244
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<881c1bef-32e7-4ef0-8f59-92e64d81d0c1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cbc108b3-23cb-4099-954e-8cb491b1c3f2n@googlegroups.com>
Subject: Re: AI/ML
From: medsyntel@gmail.com (Mel Smith)
Injection-Date: Mon, 02 Aug 2021 16:17:17 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mel Smith - Mon, 2 Aug 2021 16:17 UTC

On Monday, August 2, 2021 at 9:48:34 AM UTC-6, Ella Stern wrote:
> Well, this article:
> https://www.nature.com/articles/d41586-019-00083-3
> is trying to explain to non-mathematicians, that the "learnability problem" is undecidable, so we are free to build a world (axiom system) where it's true, or another world, where it's false.
>
> Currently libraries like OpenCV are using raster images - these are identifying contours by processing 2D pixel arrays.
> On the Internet I've found only some research papers about shape-based image recognition, which would use images stored as vectors and curves - there is a long way to go until getting really smart and reliable robots.

My M.Sc thesis was entitled "On the Detection of Edges in Pictures" University of Alberta 1973. So your notes above lit a small memory fire in my soul :)
And I remember using/analyzing extent edge detection techniques, and then developing my own --- many years ago.

Thanks for your note that sparks more memories.

- Mel

Re: AI/ML

<d81ccffc-d3cd-4419-99bc-c43a3905fae0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16741&group=comp.lang.xharbour#16741

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ae9:eb85:: with SMTP id b127mr19952638qkg.151.1627991436438;
Tue, 03 Aug 2021 04:50:36 -0700 (PDT)
X-Received: by 2002:ac8:430a:: with SMTP id z10mr2836359qtm.303.1627991436234;
Tue, 03 Aug 2021 04:50:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 3 Aug 2021 04:50:36 -0700 (PDT)
In-Reply-To: <cbc108b3-23cb-4099-954e-8cb491b1c3f2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.78.22.1; posting-account=H3ofRwoAAADbRxQ3Wi989fFKCMQ4Av_J
NNTP-Posting-Host: 82.78.22.1
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<881c1bef-32e7-4ef0-8f59-92e64d81d0c1n@googlegroups.com> <cbc108b3-23cb-4099-954e-8cb491b1c3f2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d81ccffc-d3cd-4419-99bc-c43a3905fae0n@googlegroups.com>
Subject: Re: AI/ML
From: ellailona@gmail.com (Ella Stern)
Injection-Date: Tue, 03 Aug 2021 11:50:36 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Ella Stern - Tue, 3 Aug 2021 11:50 UTC

On Monday, August 2, 2021 at 7:17:18 PM UTC+3, meds...@gmail.com wrote:
> On Monday, August 2, 2021 at 9:48:34 AM UTC-6, Ella Stern wrote:
> > Well, this article:
> > https://www.nature.com/articles/d41586-019-00083-3
> > is trying to explain to non-mathematicians, that the "learnability problem" is undecidable, so we are free to build a world (axiom system) where it's true, or another world, where it's false.
> >
> > Currently libraries like OpenCV are using raster images - these are identifying contours by processing 2D pixel arrays.
> > On the Internet I've found only some research papers about shape-based image recognition, which would use images stored as vectors and curves - there is a long way to go until getting really smart and reliable robots.
> My M.Sc thesis was entitled "On the Detection of Edges in Pictures" University of Alberta 1973. So your notes above lit a small memory fire in my soul :)
> And I remember using/analyzing extent edge detection techniques, and then developing my own --- many years ago.
>
> Thanks for your note that sparks more memories.
>
> - Mel

:-) I'm happy when I'm delegated to do "student work" (choosing the tools and approach for solving a problem) - it never happens in bigger companies.

Re: re

<sec36i$3bm$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16743&group=comp.lang.xharbour#16743

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: webmaster@appliserver.com (Dan)
Newsgroups: comp.lang.xharbour
Subject: Re: re
Date: Tue, 3 Aug 2021 20:50:56 +0200
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <sec36i$3bm$1@dont-email.me>
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 3 Aug 2021 18:50:58 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2d4f73f2d582ffb7c55a7ff25026287c";
logging-data="3446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/l9Ldt0KgBlqGiyknwCkZL"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:IFO/MlozQS3FPcc5hpY9uMsZEs0=
In-Reply-To: <ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>
Content-Language: it
 by: Dan - Tue, 3 Aug 2021 18:50 UTC

Il 01/08/2021 12:22, Ella Stern ha scritto:
> Data Science includes Artificial Intelligence, and AI includes
Machine Learning. ML has applications in natural language processing
(google search since 2012, chatbots etc), voice recognition, sentiment
recognition, image recognition (faces, defects in serial production),
the so-called autonomous cars.
>
We need in first place a shared definition of AI. There is a "common
sense" definition and some more rigorous ones.
When a non-specialist talks about AI, it probably thinks of robots and
computers as Hal 9000 that SF popularized, truly intelligent machines.

That's far away from the actual AI. A nice definition I found is "AI is
the capability to do things that, if made from a human being, we could
define as intelligent."
Play chess at high level has been considered for a long time as reserved
to human intelligence. Now no man can win against a chess program, if
run on a modern PC (Stockfish is credited 3400 ELO points, where the
world champion has less than 3000 points).

So, AI now is focused on some partial achievements, as image
recognition, OCR etc.
But the true question is: can ever a machine think as a human being?
That question has many implications, but short in short the answer is "no".
As per the OP, the programmer is God, but when you create a program that
is very complex, non-deterministic behaviors can take place, things that
the programmer cannot calculate or anticipate exactly. Think of Life,
the divertissement created by Conway. There is no way to calculate the
state of the simulated creatures if not let the program run. And some
unpredictable configurations can show side effects,as the drone launcher
etc.
So the programmer can devise the mechanism, but cannot know exactly what
the mechanism will produce in terms of "emergent qualities".
A true interesting matter, even from a philosophical point of view.

Dan

Re: re

<d65bf410-dc0b-4a62-b8e5-2b1174cc10e8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16744&group=comp.lang.xharbour#16744

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:570d:: with SMTP id 13mr204818qtw.54.1628055445401;
Tue, 03 Aug 2021 22:37:25 -0700 (PDT)
X-Received: by 2002:a0c:b44b:: with SMTP id e11mr25308735qvf.38.1628055445283;
Tue, 03 Aug 2021 22:37:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 3 Aug 2021 22:37:25 -0700 (PDT)
In-Reply-To: <sec36i$3bm$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2409:4040:e0f:66a0:d8bc:dfca:8d6:bc01;
posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2409:4040:e0f:66a0:d8bc:dfca:8d6:bc01
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <sec36i$3bm$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d65bf410-dc0b-4a62-b8e5-2b1174cc10e8n@googlegroups.com>
Subject: Re: re
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Wed, 04 Aug 2021 05:37:25 +0000
Content-Type: text/plain; charset="UTF-8"
 by: timepro timesheet - Wed, 4 Aug 2021 05:37 UTC

dan, your point:
-'As per the OP, the programmer is God, but when you create a program that
is very complex, non-deterministic behaviors can take place, things that
the programmer cannot calculate or anticipate exactly...'-
:but, again 'cannot calculate or...' was coded/programmed by THAT coder, albeit inadvertently.
moreover, after that erratic/wrong/unpredictable... functioning, cannot that coder rectify it so that the same
'unpredictability' does not occur again...? or would the machine (nexttime) preempt that occurrence and correct that?

-'But the true question is: can ever a machine think as a human being?'-
:shouldn't the emphatic reply be 'hell no!'

-'but cannot know exactly what the mechanism will produce in terms of "emergent qualities...."'-
:maybe not at the time of coding, but certainly after execution can analyse and modify to produce the 'emergent qualities' as desired...

ok, if it was down to a binary decision: 'is the programmer god Y/N'
what would you say?
(that programmer may/may not commit blunders in coding, resulting in unanticipated activity - because of the 'very' code written by 'that god...i mean coder')

Re: AI/ML

<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16745&group=comp.lang.xharbour#16745

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a0c:e087:: with SMTP id l7mr25420010qvk.23.1628056343127; Tue, 03 Aug 2021 22:52:23 -0700 (PDT)
X-Received: by 2002:a05:622a:1049:: with SMTP id f9mr21135523qte.111.1628056342927; Tue, 03 Aug 2021 22:52:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 3 Aug 2021 22:52:22 -0700 (PDT)
In-Reply-To: <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2409:4040:e0f:66a0:d8bc:dfca:8d6:bc01; posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2409:4040:e0f:66a0:d8bc:dfca:8d6:bc01
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com> <ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com> <cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com>
Subject: Re: AI/ML
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Wed, 04 Aug 2021 05:52:23 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 24
 by: timepro timesheet - Wed, 4 Aug 2021 05:52 UTC

On Monday, August 2, 2021 at 7:53:56 PM UTC+5:30, meds...@gmail.com wrote:
> Interesting discussion !
> I'd like both you and Ella to continue digging deeper ...
> -Mel

actually mel,
ella (and most others) are just way ahead than me in their understanding/knowledge of tech/computers/science... and their functioning...
i am just not in their league...
but, am very keen to augment my knowledge by interacting/studying...

this may seem over-simplistic:

in gmail, if you type PFA in the subject/matter,
and you hit 'send', forgetting/without the attachment, gmail prompts to add the attachment.
is this sort of AI/ML or just plain coding.
..
if a family(with children) is streaming a movie on a smart tv,
and some 'X' rated content is about to be streamed on the screen...
would that smart TV (networked), sense presence of children (from the tv camera) and blank out those type of scenes.
(like a driverless car, sensing in it's path a wall/pole/obstuction...swerves)

Re: AI/ML

<4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16747&group=comp.lang.xharbour#16747

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:62d:: with SMTP id 13mr25804146qkv.18.1628086917629; Wed, 04 Aug 2021 07:21:57 -0700 (PDT)
X-Received: by 2002:a05:6214:2606:: with SMTP id gu6mr13051318qvb.8.1628086917456; Wed, 04 Aug 2021 07:21:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 4 Aug 2021 07:21:57 -0700 (PDT)
In-Reply-To: <a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.52.125.244; posting-account=dQ0_awoAAABF2-Sui2Av5bZD8Vt8zYRC
NNTP-Posting-Host: 96.52.125.244
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com> <ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com> <cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com> <a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
Subject: Re: AI/ML
From: medsyntel@gmail.com (Mel Smith)
Injection-Date: Wed, 04 Aug 2021 14:21:57 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 38
 by: Mel Smith - Wed, 4 Aug 2021 14:21 UTC

On Tuesday, August 3, 2021 at 11:52:23 PM UTC-6, timec...@gmail.com wrote:
> On Monday, August 2, 2021 at 7:53:56 PM UTC+5:30, meds...@gmail.com wrote:
> > Interesting discussion !
> > I'd like both you and Ella to continue digging deeper ...
> > -Mel
> actually mel,
> ella (and most others) are just way ahead than me in their understanding/knowledge of tech/computers/science... and their functioning...
> i am just not in their league...
> but, am very keen to augment my knowledge by interacting/studying...
>
>
> this may seem over-simplistic:
>
> in gmail, if you type PFA in the subject/matter,
> and you hit 'send', forgetting/without the attachment, gmail prompts to add the attachment.
> is this sort of AI/ML or just plain coding.

I just 'sent' an email with PFA as the 'Subject', and nothing else. So, I guess my gmail is stupider than yours :))

> .
> if a family(with children) is streaming a movie on a smart tv,
> and some 'X' rated content is about to be streamed on the screen...
> would that smart TV (networked), sense presence of children (from the tv camera) and blank out those type of scenes.
> (like a driverless car, sensing in it's path a wall/pole/obstuction...swerves)

So, I join you in not being sophisticated in AI.

Maybe we should get some help from Ella and see how she would use the Harbour language to create a pseudo-intelligent sample process.

As humans, we 'wonder' and are 'curious'. So, how can one build a proggy (in xHarbour) that wonders. Maybe,

Function Wonder(lStarttime, cSubject, etc, etc)
// do magical stuff here
Return cConjecture

-Mel

Re: AI/ML

<e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16753&group=comp.lang.xharbour#16753

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a37:a154:: with SMTP id k81mr1572248qke.202.1628111916739;
Wed, 04 Aug 2021 14:18:36 -0700 (PDT)
X-Received: by 2002:a05:622a:1049:: with SMTP id f9mr1415066qte.111.1628111916504;
Wed, 04 Aug 2021 14:18:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 4 Aug 2021 14:18:36 -0700 (PDT)
In-Reply-To: <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.78.49.178; posting-account=H3ofRwoAAADbRxQ3Wi989fFKCMQ4Av_J
NNTP-Posting-Host: 82.78.49.178
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com> <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>
Subject: Re: AI/ML
From: ellailona@gmail.com (Ella Stern)
Injection-Date: Wed, 04 Aug 2021 21:18:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Ella Stern - Wed, 4 Aug 2021 21:18 UTC

On Wednesday, August 4, 2021 at 5:21:58 PM UTC+3, meds...@gmail.com wrote:
> On Tuesday, August 3, 2021 at 11:52:23 PM UTC-6, timec...@gmail.com wrote:
> > On Monday, August 2, 2021 at 7:53:56 PM UTC+5:30, meds...@gmail.com wrote:
> > > Interesting discussion !
> > > I'd like both you and Ella to continue digging deeper ...
> > > -Mel
> > actually mel,
> > ella (and most others) are just way ahead than me in their understanding/knowledge of tech/computers/science... and their functioning...
> > i am just not in their league...
> > but, am very keen to augment my knowledge by interacting/studying...
> >
> >
> > this may seem over-simplistic:
> >
> > in gmail, if you type PFA in the subject/matter,
> > and you hit 'send', forgetting/without the attachment, gmail prompts to add the attachment.
> > is this sort of AI/ML or just plain coding.
> I just 'sent' an email with PFA as the 'Subject', and nothing else. So, I guess my gmail is stupider than yours :))
> > .
> > if a family(with children) is streaming a movie on a smart tv,
> > and some 'X' rated content is about to be streamed on the screen...
> > would that smart TV (networked), sense presence of children (from the tv camera) and blank out those type of scenes.
> > (like a driverless car, sensing in it's path a wall/pole/obstuction...swerves)
> So, I join you in not being sophisticated in AI.
>
> Maybe we should get some help from Ella and see how she would use the Harbour language to create a pseudo-intelligent sample process.
>
> As humans, we 'wonder' and are 'curious'. So, how can one build a proggy (in xHarbour) that wonders. Maybe,
>
>
> Function Wonder(lStarttime, cSubject, etc, etc)
> // do magical stuff here
> Return cConjecture
>
> -Mel

I'm an IT software generalist - a human assistant :-)

Google Mail is a plain web app made responsive in the browser tab by a bunch of JavaScript.

The "smart TV" most probably has a parental control feature turned on and configured by one of the parents (numerous milennials have a passion for configuring their vacuum cleaners, and managing their smart home devices, or even home networks).

In the Windows OS the .NET subsystem has a memory manager controlled directly by the OS, and the .net applications running in that subsystem are designed under the assumption that the garbage collection happens non-deterministically, so there is no need to be called by programmers, and even if it's called, it will do its job when having the okay from the OS.

Handling multiple processes, and eventually multiple threads in some processes are approaches with long history, and since the generalization of multi-core processors actually many things in a computer or even a cheap phone do happen in non-deterministic order.

In case of a browser the user might have dozens of tabs open, each tab with some visual content and eventually one or more background processes (downloading an image or PDF, uploading some .json data to a server, contacting a trusted server for verifying a certificate etc.).
All those visuals (sitting in rectangular screen areas) are sharing a unique foreground thread. In .NET:
- the user's interaction with the computer does always happen via the foreground thread (hitting keys, buttons etc.)
- there is a dispatcher module collecting and managing requests coming from the background threads in order to refresh some content in the browser tabs

In general when a .NET application is not used for a specific amount of time, it's suspended, and its memory image is zipped. The suspending process is also considered non-deterministic, the programmer does not have the possibility to call some code when it happens (because the memory management is controlled by the OS).

The Apple computers also have highly sophisticated OSes, and in general the client devices are dealing with a much lover level of uncertainty than the cloud-based side of things.

When I was learning about how Unity projects work, I've seen that there is a "scene" (a rectangular screen area), which is holding a number of entities, and each entity has to be set up with detailed attributes (size, color, texture) and behavior (when clicked by user / touched by entity then do something in a parametrized manner). The game engine is managing all those user events and "virtual events" generated by the entities moving, spinning, zooming, talking etc.

Uncertainty is baked in event-driven software and reactive software - two major design approaches employed in complex applications.

I think Reinforcement Learning is the area that might be of your interest.

Re: AI/ML

<119b504e-4e64-4e8c-820b-e9fc2c7a4779n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16754&group=comp.lang.xharbour#16754

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a37:8407:: with SMTP id g7mr3363224qkd.123.1628145741905;
Wed, 04 Aug 2021 23:42:21 -0700 (PDT)
X-Received: by 2002:a05:620a:1090:: with SMTP id g16mr3243673qkk.256.1628145741776;
Wed, 04 Aug 2021 23:42:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 4 Aug 2021 23:42:21 -0700 (PDT)
In-Reply-To: <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2409:4040:e0f:66a0:743d:6fa6:2711:397a;
posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2409:4040:e0f:66a0:743d:6fa6:2711:397a
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com> <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <119b504e-4e64-4e8c-820b-e9fc2c7a4779n@googlegroups.com>
Subject: Re: AI/ML
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Thu, 05 Aug 2021 06:42:21 +0000
Content-Type: text/plain; charset="UTF-8"
 by: timepro timesheet - Thu, 5 Aug 2021 06:42 UTC

'I just 'sent' an email with PFA as the 'Subject', and nothing else. So, I guess my gmail is stupider than yours :))'

mel, mail from a desktop and check.

message goes like this:

[Gmail
It seems like you have forgotten to...
You wrote 'find attached'...but there are no files attached....]

Re: AI/ML

<a62219ce-a623-4ea8-b8e2-7c72ffe0b08bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16755&group=comp.lang.xharbour#16755

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:209:: with SMTP id b9mr3311801qtx.136.1628146639672;
Wed, 04 Aug 2021 23:57:19 -0700 (PDT)
X-Received: by 2002:a05:620a:1999:: with SMTP id bm25mr1826808qkb.329.1628146639557;
Wed, 04 Aug 2021 23:57:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 4 Aug 2021 23:57:19 -0700 (PDT)
In-Reply-To: <e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2409:4040:e0f:66a0:743d:6fa6:2711:397a;
posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2409:4040:e0f:66a0:743d:6fa6:2711:397a
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com> <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
<e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a62219ce-a623-4ea8-b8e2-7c72ffe0b08bn@googlegroups.com>
Subject: Re: AI/ML
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Thu, 05 Aug 2021 06:57:19 +0000
Content-Type: text/plain; charset="UTF-8"
 by: timepro timesheet - Thu, 5 Aug 2021 06:57 UTC

ella stern,

-'The "smart TV" most probably has a parental control feature turned on and configured by one of the parents'
:again, that was programmed by a living human - right?

-'The suspending process is also considered non-deterministic, the programmer does not have the possibility to call some code when it happens (because the memory management is controlled by the OS).'
:(because the memory management is controlled by the OS) - the OS that was coded by programmer/s.

-'so there is no need to be called by programmers, and even if it's called, it will do its job when having the okay from the OS.'
:the OS written by the coder

also 'non-deterministic' event/process would occur only due to: improper-coding/wrong-syntax/improper-logic...programmed by that human - right?

hope my counters(not opposition) are lucid?

Re: AI/ML

<seiqum$b1f$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16762&group=comp.lang.xharbour#16762

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: webmaster@appliserver.com (Dan)
Newsgroups: comp.lang.xharbour
Subject: Re: AI/ML
Date: Fri, 6 Aug 2021 10:13:06 +0200
Organization: A noiseless patient Spider
Lines: 136
Message-ID: <seiqum$b1f$1@dont-email.me>
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>
<070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com>
<b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com>
<4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
<e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="------------02B199F18C884E3E060A1E02"
Injection-Date: Fri, 6 Aug 2021 08:13:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6586b88e26a56861488fa1200c8d19c2";
logging-data="11311"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18e2QygKsrQbVDK0xtL1uxP"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:TOn8dph8RiOtfMwjrPYSVVLdAp4=
In-Reply-To: <e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>
Content-Language: it
 by: Dan - Fri, 6 Aug 2021 08:13 UTC
Attachments: "neurnetw" (text/plain), "neurnetw.PRG" (text/plain)

Il 04/08/2021 23:18, Ella Stern ha scritto:

>
> I think Reinforcement Learning is the area that might be of your interest.
>

Here is a small example of a neural network simulation in xHarbour. This
is a very basic program but I think it is a good starting point to
understand how an expert system works.

The ES needs first of all to be trained. It asks 5 questions about a
distinctive attribute to identify the animal you are thinking of. When
it goes wrong, it asks what animal you intended and modifies the
evaluation matrix, adjusting the weights of the attributes.

After a VARIABLE number of questions/answers, the program learns to
distinguish among animals.

The important thing is that the number of steps to correctly identify
animals is not fixed, it depends by the training. Also the matrix could
end up being different with a different questions order.

if you save the matrix, it will be reused at the next run, aka the
training won't be necessary anymore.

compile: hbmake neurnetw

Enjoy!
Dan

Attachments: "neurnetw" (text/plain), "neurnetw.PRG" (text/plain)
Re: AI/ML

<sekg3r$6cs$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16770&group=comp.lang.xharbour#16770

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: webmaster@appliserver.com (Dan)
Newsgroups: comp.lang.xharbour
Subject: Re: AI/ML
Date: Sat, 7 Aug 2021 01:20:23 +0200
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <sekg3r$6cs$1@dont-email.me>
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>
<070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com>
<b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com>
<4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
<e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 6 Aug 2021 23:20:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8020de7ecef3dce95fd5b60092c13869";
logging-data="6556"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+nDGCqk4iMIo+LAZe3d5h1"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:TVOQ4GxKA0hA9Vnw0Lfx85UL/6M=
In-Reply-To: <e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>
Content-Language: it
 by: Dan - Fri, 6 Aug 2021 23:20 UTC

Il 04/08/2021 23:18, Ella Stern ha scritto:
....

One more thing.
I answered you, but the post is intended for the OP. I credit you of a
vaste knowledge of IT, so I didn't want to teach you anyhting... maybe
I'd have something to learn from you, instead :-)

Dan

Re: AI/ML

<ff443d7b-8d64-4889-ac0e-987503c2e9d5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16771&group=comp.lang.xharbour#16771

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:164b:: with SMTP id y11mr78327qtj.166.1628294111803;
Fri, 06 Aug 2021 16:55:11 -0700 (PDT)
X-Received: by 2002:ae9:e606:: with SMTP id z6mr12716821qkf.152.1628294111680;
Fri, 06 Aug 2021 16:55:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Fri, 6 Aug 2021 16:55:11 -0700 (PDT)
In-Reply-To: <sekg3r$6cs$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.52.125.244; posting-account=dQ0_awoAAABF2-Sui2Av5bZD8Vt8zYRC
NNTP-Posting-Host: 96.52.125.244
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com> <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
<e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com> <sekg3r$6cs$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ff443d7b-8d64-4889-ac0e-987503c2e9d5n@googlegroups.com>
Subject: Re: AI/ML
From: medsyntel@gmail.com (Mel Smith)
Injection-Date: Fri, 06 Aug 2021 23:55:11 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mel Smith - Fri, 6 Aug 2021 23:55 UTC

On Friday, August 6, 2021 at 5:20:29 PM UTC-6, Dan wrote:
> Il 04/08/2021 23:18, Ella Stern ha scritto:
> ...
>
> One more thing.
> I answered you, but the post is intended for the OP. I credit you of a
> vaste knowledge of IT, so I didn't want to teach you anyhting... maybe
> I'd have something to learn from you, instead :-)
>
> Dan

Hi Dan:
I was never able to 'Save' the Rules.txt. It was always empty. i.e., the size of rules.txt == 0
I also note that 'saving' requires an 'S' rather than a Y for Yes.
Anyway thank you for the intro to machine learning in the Harbour language.
I also quickly compiled your proggie under the Harbour fork too (using hbmk2 and MinGW11.2.0 and Harbour Version 3.2)
In xHarbour and Harbour, the program reactions were identical. But, in both case I got a zero-sized rules.txt
Thank you !

-Mel

Re: AI/ML

<1223fab3-1444-4f41-9865-c6291f34ff4fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16772&group=comp.lang.xharbour#16772

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:6214:5199:: with SMTP id kl25mr16686699qvb.12.1628353404182;
Sat, 07 Aug 2021 09:23:24 -0700 (PDT)
X-Received: by 2002:a05:620a:1090:: with SMTP id g16mr15108655qkk.256.1628353404036;
Sat, 07 Aug 2021 09:23:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sat, 7 Aug 2021 09:23:23 -0700 (PDT)
In-Reply-To: <ff443d7b-8d64-4889-ac0e-987503c2e9d5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.52.125.244; posting-account=dQ0_awoAAABF2-Sui2Av5bZD8Vt8zYRC
NNTP-Posting-Host: 96.52.125.244
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com> <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
<e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com> <sekg3r$6cs$1@dont-email.me>
<ff443d7b-8d64-4889-ac0e-987503c2e9d5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1223fab3-1444-4f41-9865-c6291f34ff4fn@googlegroups.com>
Subject: Re: AI/ML
From: medsyntel@gmail.com (Mel Smith)
Injection-Date: Sat, 07 Aug 2021 16:23:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Mel Smith - Sat, 7 Aug 2021 16:23 UTC

On Friday, August 6, 2021 at 5:55:12 PM UTC-6, Mel Smith wrote:
> On Friday, August 6, 2021 at 5:20:29 PM UTC-6, Dan wrote:
> > Il 04/08/2021 23:18, Ella Stern ha scritto:
> > ...
> >
> > One more thing.
> > I answered you, but the post is intended for the OP. I credit you of a
> > vaste knowledge of IT, so I didn't want to teach you anyhting... maybe
> > I'd have something to learn from you, instead :-)
> >
> > Dan
> Hi Dan:
> I was never able to 'Save' the Rules.txt. It was always empty. i.e., the size of rules.txt == 0
> I also note that 'saving' requires an 'S' rather than a Y for Yes.
> Anyway thank you for the intro to machine learning in the Harbour language.
> I also quickly compiled your proggie under the Harbour fork too (using hbmk2 and MinGW11.2.0 and Harbour Version 3.2)
> In xHarbour and Harbour, the program reactions were identical. But, in both case I got a zero-sized rules.txt
> Thank you !
>
> -Mel
Hi Dan:
It appears that your use of 'Handles' has a small flaw in the closing statements of saving the 'rules.txt' file. i.e., lines 98 and 99 where you use fcreate() and fopen(). I fixed this for myself, and it works great. Anyway, I again appreciate this intro to ML. !
-Mel

Re: AI/ML

<seo0fq$g22$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16773&group=comp.lang.xharbour#16773

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: webmaster@appliserver.com (Dan)
Newsgroups: comp.lang.xharbour
Subject: Re: AI/ML
Date: Sun, 8 Aug 2021 09:18:12 +0200
Organization: A noiseless patient Spider
Lines: 98
Message-ID: <seo0fq$g22$1@dont-email.me>
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com>
<070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com>
<b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com>
<4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
<e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com>
<sekg3r$6cs$1@dont-email.me>
<ff443d7b-8d64-4889-ac0e-987503c2e9d5n@googlegroups.com>
<1223fab3-1444-4f41-9865-c6291f34ff4fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 8 Aug 2021 07:18:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="93fc242ce3d9642f2b1cbd9254ebd65b";
logging-data="16450"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SsegNbFYFkqORTo3T7REO"
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:DqtX64YVMz4PuTzDB6J9WtaURsU=
In-Reply-To: <1223fab3-1444-4f41-9865-c6291f34ff4fn@googlegroups.com>
Content-Language: it
 by: Dan - Sun, 8 Aug 2021 07:18 UTC

Il 07/08/2021 18:23, Mel Smith ha scritto:
> On Friday, August 6, 2021 at 5:55:12 PM UTC-6, Mel Smith wrote:
>> On Friday, August 6, 2021 at 5:20:29 PM UTC-6, Dan wrote:
>>> Il 04/08/2021 23:18, Ella Stern ha scritto:
>>> ...
>>>
>>> One more thing.
>>> I answered you, but the post is intended for the OP. I credit you of a
>>> vaste knowledge of IT, so I didn't want to teach you anyhting... maybe
>>> I'd have something to learn from you, instead :-)
>>>
>>> Dan
>> Hi Dan:
>> I was never able to 'Save' the Rules.txt. It was always empty. i.e., the size of rules.txt == 0
>> I also note that 'saving' requires an 'S' rather than a Y for Yes.
>> Anyway thank you for the intro to machine learning in the Harbour language.
>> I also quickly compiled your proggie under the Harbour fork too (using hbmk2 and MinGW11.2.0 and Harbour Version 3.2)
>> In xHarbour and Harbour, the program reactions were identical. But, in both case I got a zero-sized rules.txt
>> Thank you !
>>
>> -Mel
> Hi Dan:
> It appears that your use of 'Handles' has a small flaw in the closing statements of saving the 'rules.txt' file. i.e., lines 98 and 99 where you use fcreate() and fopen(). I fixed this for myself, and it works great. Anyway, I again appreciate this intro to ML. !
> -Mel
>
Oops Mel, I quickly translated my little program, and since it was in
Italian and "Yes" sounds "Sì" here, I missed that line.

You are right about the file rules.txt. The lines 98-99 are wrong. The
correct syntax is:

nHandle:=fcreate("rules.txt")

There is no need to fopen after fcreate, fcreate returns the file handle
of the already opened file. The prog was written in Clipper many years
ago, and maybe there is a difference in the way fopen and fcreate do
work. For sure, that syntax worked in Clipper.

Since you are interested, here is a little explanation of the behavior
of the prog:
the matrix holds the weights of the properties for every animal. When
the prog has collected the 5 answers, it calculates the row that
totalizes the higher score, simply adding the weights for every "yes"
(property present).
The interesting part is how the program corrects the weights when he
gives the wrong answer:
- it increases the weight of the properties of the right animal where it
got a "yes"
- it decreases the weight of the properties of all the others animals
where it got a "yes".

That's all. This very simple mechanism is incredibly efficient.

In another program, I was able to simulate a creature (let's say an ant)
that starts from a point in the upper row of a "field" (a grid of cells)
and tries to reach its "home" in the bottom row.

The ant moves from one cell to the adjacent at every loop.

To be honest, the ant is more like a pigeon, because it is able to know
the direction it should take to reach home. It knows its coordinates
(x,y) on the grid, and the coords of home (x1,y1), so it can simply
subtract the x,y values to know if it's approaching or stepping away.

But the creature resembles to an ant for the other thing it can do: it
leaves a chemical track on every visited cell.

The ant has two simple rules to follow: approach home and not enter a
cell already visited. Both rules are not mandatory: only discouraged.
But the chemical track is reinforced, should the ant enter a visited
cell, and the smell can become so strong that the ant can overcome the
primary directive to not step away from home!

The ant can calculate which cell is the nearest to home at every loop,
and move accordingly.

The problem that the pigeonesque ant must solve is what to do when it
encounters an obstacle.

If the obstacle is a simple horizontal wall, it is not difficult to
write a program that makes it to follow the wall until it ends and
restart approaching. In fact, the 3 cells below the ant are forbidden,
the 3 cells above discouraged because more far away from home, so the
only choice is to go horizontally.
But when the wall is like a "U" and the ant ends up inside the "U" it's
hard to make it to follow the wall, because it must step away from home
in order to overcome the obstacle. Without the chemical track the ant
would enter an infinite loop going left to right and right to left.

With the ES, the ant adjusts the score of the next move and "realizes"
that it must climb the wall, even if that is against the main directive,
if it wants not to be intoxicated by its own chemical substance.

I'll post the source here if someone is interested.
I was very proud to solve the problem with exactly the same algorythm
seen in neurnetw.prg, used in a ingenious way!

Dan

Re: AI/ML

<cda79b52-e2b2-4c6d-a3ce-5b88ddae46a4n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16774&group=comp.lang.xharbour#16774

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:14ce:: with SMTP id u14mr16143460qtx.165.1628430794382;
Sun, 08 Aug 2021 06:53:14 -0700 (PDT)
X-Received: by 2002:ad4:5bae:: with SMTP id 14mr19451771qvq.22.1628430794193;
Sun, 08 Aug 2021 06:53:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sun, 8 Aug 2021 06:53:13 -0700 (PDT)
In-Reply-To: <seo0fq$g22$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.52.125.244; posting-account=dQ0_awoAAABF2-Sui2Av5bZD8Vt8zYRC
NNTP-Posting-Host: 96.52.125.244
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
<ccb6d73d-23cc-493e-a95d-4400b8e0a9adn@googlegroups.com> <070b772b-63e7-40ed-831e-6dcb30d80a7en@googlegroups.com>
<cad00815-2e30-4376-b86c-2d66f4701ac7n@googlegroups.com> <b5f763b2-9b3b-4fcd-a710-514c944f945bn@googlegroups.com>
<a45d48fb-1f0a-41d6-82bb-7def86afd7fan@googlegroups.com> <4b3a6edc-0123-423d-9093-25e5a32568f7n@googlegroups.com>
<e5edf67f-75a6-4965-af1f-4539d1d7fa2fn@googlegroups.com> <sekg3r$6cs$1@dont-email.me>
<ff443d7b-8d64-4889-ac0e-987503c2e9d5n@googlegroups.com> <1223fab3-1444-4f41-9865-c6291f34ff4fn@googlegroups.com>
<seo0fq$g22$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cda79b52-e2b2-4c6d-a3ce-5b88ddae46a4n@googlegroups.com>
Subject: Re: AI/ML
From: medsyntel@gmail.com (Mel Smith)
Injection-Date: Sun, 08 Aug 2021 13:53:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Mel Smith - Sun, 8 Aug 2021 13:53 UTC

On Sunday, August 8, 2021 at 1:18:19 AM UTC-6, Dan wrote:
> Il 07/08/2021 18:23, Mel Smith ha scritto:
> > On Friday, August 6, 2021 at 5:55:12 PM UTC-6, Mel Smith wrote:
> >> On Friday, August 6, 2021 at 5:20:29 PM UTC-6, Dan wrote:
> >>> Il 04/08/2021 23:18, Ella Stern ha scritto:
> >>> ...
> >>>
> >>> One more thing.
> >>> I answered you, but the post is intended for the OP. I credit you of a
> >>> vaste knowledge of IT, so I didn't want to teach you anyhting... maybe
> >>> I'd have something to learn from you, instead :-)
> >>>
> >>> Dan
> >> Hi Dan:
> >> I was never able to 'Save' the Rules.txt. It was always empty. i.e., the size of rules.txt == 0
> >> I also note that 'saving' requires an 'S' rather than a Y for Yes.
> >> Anyway thank you for the intro to machine learning in the Harbour language.
> >> I also quickly compiled your proggie under the Harbour fork too (using hbmk2 and MinGW11.2.0 and Harbour Version 3.2)
> >> In xHarbour and Harbour, the program reactions were identical. But, in both case I got a zero-sized rules.txt
> >> Thank you !
> >>
> >> -Mel
> > Hi Dan:
> > It appears that your use of 'Handles' has a small flaw in the closing statements of saving the 'rules.txt' file. i.e., lines 98 and 99 where you use fcreate() and fopen(). I fixed this for myself, and it works great. Anyway, I again appreciate this intro to ML. !
> > -Mel
> >
> Oops Mel, I quickly translated my little program, and since it was in
> Italian and "Yes" sounds "Sì" here, I missed that line.
>
> You are right about the file rules.txt. The lines 98-99 are wrong. The
> correct syntax is:
>
> nHandle:=fcreate("rules.txt")
>
> There is no need to fopen after fcreate, fcreate returns the file handle
> of the already opened file. The prog was written in Clipper many years
> ago, and maybe there is a difference in the way fopen and fcreate do
> work. For sure, that syntax worked in Clipper.
>
> Since you are interested, here is a little explanation of the behavior
> of the prog:
> the matrix holds the weights of the properties for every animal. When
> the prog has collected the 5 answers, it calculates the row that
> totalizes the higher score, simply adding the weights for every "yes"
> (property present).
> The interesting part is how the program corrects the weights when he
> gives the wrong answer:
> - it increases the weight of the properties of the right animal where it
> got a "yes"
> - it decreases the weight of the properties of all the others animals
> where it got a "yes".
>
> That's all. This very simple mechanism is incredibly efficient.
>
> In another program, I was able to simulate a creature (let's say an ant)
> that starts from a point in the upper row of a "field" (a grid of cells)
> and tries to reach its "home" in the bottom row.
>
> The ant moves from one cell to the adjacent at every loop.
>
> To be honest, the ant is more like a pigeon, because it is able to know
> the direction it should take to reach home. It knows its coordinates
> (x,y) on the grid, and the coords of home (x1,y1), so it can simply
> subtract the x,y values to know if it's approaching or stepping away.
>
> But the creature resembles to an ant for the other thing it can do: it
> leaves a chemical track on every visited cell.
>
> The ant has two simple rules to follow: approach home and not enter a
> cell already visited. Both rules are not mandatory: only discouraged.
> But the chemical track is reinforced, should the ant enter a visited
> cell, and the smell can become so strong that the ant can overcome the
> primary directive to not step away from home!
>
> The ant can calculate which cell is the nearest to home at every loop,
> and move accordingly.
>
> The problem that the pigeonesque ant must solve is what to do when it
> encounters an obstacle.
>
> If the obstacle is a simple horizontal wall, it is not difficult to
> write a program that makes it to follow the wall until it ends and
> restart approaching. In fact, the 3 cells below the ant are forbidden,
> the 3 cells above discouraged because more far away from home, so the
> only choice is to go horizontally.
> But when the wall is like a "U" and the ant ends up inside the "U" it's
> hard to make it to follow the wall, because it must step away from home
> in order to overcome the obstacle. Without the chemical track the ant
> would enter an infinite loop going left to right and right to left.
>
> With the ES, the ant adjusts the score of the next move and "realizes"
> that it must climb the wall, even if that is against the main directive,
> if it wants not to be intoxicated by its own chemical substance.
>
> I'll post the source here if someone is interested.
> I was very proud to solve the problem with exactly the same algorythm
> seen in neurnetw.prg, used in a ingenious way!
>
> Dan

Hi Dan:
Thanks for the explanation, and *yes*, I would like to see your ant/pigeon ML program, and test it. It seems intriguing !
-Mel

Re: AI/ML

<5f3c6523-36d4-40bf-8b55-19c8d4abc596n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16778&group=comp.lang.xharbour#16778

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:6214:3b1:: with SMTP id m17mr11811082qvy.60.1628685784349;
Wed, 11 Aug 2021 05:43:04 -0700 (PDT)
X-Received: by 2002:a05:6214:2123:: with SMTP id r3mr5946065qvc.19.1628685784187;
Wed, 11 Aug 2021 05:43:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 11 Aug 2021 05:43:03 -0700 (PDT)
In-Reply-To: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2405:204:282:e8f4:1d06:74a:bd69:15b8;
posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2405:204:282:e8f4:1d06:74a:bd69:15b8
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5f3c6523-36d4-40bf-8b55-19c8d4abc596n@googlegroups.com>
Subject: Re: AI/ML
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Wed, 11 Aug 2021 12:43:04 +0000
Content-Type: text/plain; charset="UTF-8"
 by: timepro timesheet - Wed, 11 Aug 2021 12:43 UTC

is 'siri' AI ? (in the literal sense - if AI in literal sense truly exists...)
is 'alexa' AI ?

am i right in believing?
any system/machine/robot/driverless car/appliance....
will execute EXACTLY 'ONLY' the 'code/syntax/function/command...' it processes.
(however wrong/off-logic the code/function...may be)

Re: AI/ML

<e323a5ff-ec41-4a51-9e73-c89d2487373fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16779&group=comp.lang.xharbour#16779

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a37:9e4f:: with SMTP id h76mr591238qke.24.1628709147293;
Wed, 11 Aug 2021 12:12:27 -0700 (PDT)
X-Received: by 2002:ac8:474d:: with SMTP id k13mr214723qtp.243.1628709147003;
Wed, 11 Aug 2021 12:12:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 11 Aug 2021 12:12:26 -0700 (PDT)
In-Reply-To: <5f3c6523-36d4-40bf-8b55-19c8d4abc596n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.78.21.197; posting-account=H3ofRwoAAADbRxQ3Wi989fFKCMQ4Av_J
NNTP-Posting-Host: 82.78.21.197
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com> <5f3c6523-36d4-40bf-8b55-19c8d4abc596n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e323a5ff-ec41-4a51-9e73-c89d2487373fn@googlegroups.com>
Subject: Re: AI/ML
From: ellailona@gmail.com (Ella Stern)
Injection-Date: Wed, 11 Aug 2021 19:12:27 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Ella Stern - Wed, 11 Aug 2021 19:12 UTC

On Wednesday, August 11, 2021 at 3:43:05 PM UTC+3, timec...@gmail.com wrote:
> is 'siri' AI ? (in the literal sense - if AI in literal sense truly exists...)
> is 'alexa' AI ?
>
> am i right in believing?
> any system/machine/robot/driverless car/appliance....
> will execute EXACTLY 'ONLY' the 'code/syntax/function/command...' it processes.
> (however wrong/off-logic the code/function...may be)

The smart speakers are working similarly:
https://skywell.software/blog/how-does-siri-work-technology-and-algorithm/

Re: AI/ML

<53480231-b00b-41c7-9925-f614769a57f8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16783&group=comp.lang.xharbour#16783

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:622a:15c4:: with SMTP id d4mr5193561qty.350.1628925023080;
Sat, 14 Aug 2021 00:10:23 -0700 (PDT)
X-Received: by 2002:a05:622a:1cd:: with SMTP id t13mr5060327qtw.111.1628925022869;
Sat, 14 Aug 2021 00:10:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Sat, 14 Aug 2021 00:10:22 -0700 (PDT)
In-Reply-To: <5f3c6523-36d4-40bf-8b55-19c8d4abc596n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2409:4040:e09:2e6e:400e:93a6:7d33:e1c6;
posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2409:4040:e09:2e6e:400e:93a6:7d33:e1c6
References: <123b851e-cb7b-4c69-a94c-09c8dcd7fc04n@googlegroups.com> <5f3c6523-36d4-40bf-8b55-19c8d4abc596n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <53480231-b00b-41c7-9925-f614769a57f8n@googlegroups.com>
Subject: Re: AI/ML
From: timecosting@gmail.com (timepro timesheet)
Injection-Date: Sat, 14 Aug 2021 07:10:23 +0000
Content-Type: text/plain; charset="UTF-8"
 by: timepro timesheet - Sat, 14 Aug 2021 07:10 UTC

am i right in believing?

any system/machine/robot/driverless car/appliance....
will execute EXACTLY 'ONLY and ONLY' the 'code/syntax/function/command...' it processes.
(however wrong/off-logic the code...) (the written code may/maynot be driven or directed by the OS)

-any 'categoric/unequivocal' input/remark/reply... to above mentioned.-

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor