Recent

Author Topic: Conscious Artificial Intelligence - Project Update  (Read 8161 times)

Thaddy

  • Hero Member
  • *****
  • Posts: 9167
Re: Conscious Artificial Intelligence - Project Update
« Reply #15 on: September 23, 2019, 08:46:11 am »
Better and better! I will enjoy playing with your code this week. TNX!
also related to equus asinus.

schuler

  • Full Member
  • ***
  • Posts: 126
Re: Conscious Artificial Intelligence - Project Update
« Reply #16 on: September 23, 2019, 11:58:25 am »
@Thaddy,
It's not ready yet! I intend to have the first version ready in 2 weeks.

Thaddy

  • Hero Member
  • *****
  • Posts: 9167
Re: Conscious Artificial Intelligence - Project Update
« Reply #17 on: September 23, 2019, 12:34:44 pm »
Ok. I have some patience... :D
also related to equus asinus.

schuler

  • Full Member
  • ***
  • Posts: 126
Re: Conscious Artificial Intelligence - Project Update
« Reply #18 on: September 23, 2019, 05:46:08 pm »
Thank you for the interest! Makes life happier!

This is an example about the work in progress:
https://github.com/joaopauloschuler/neural-api#how-does-the-code-look-like-for-a-cifar-10-classification-example

A good introductory example is:
https://github.com/joaopauloschuler/neural-api/tree/master/examples/SimpleImageClassifier

:) Wishing everyone happy pascal coding :)

« Last Edit: September 24, 2019, 11:47:34 pm by schuler »

nouzi

  • Full Member
  • ***
  • Posts: 140
Re: Conscious Artificial Intelligence - Project Update
« Reply #19 on: October 03, 2019, 02:17:40 pm »
Good job 'bravo '
my english is  bad
Lazarus 2.0 free pascal 3.0.4
Lazarus trunk  free pascal trunk 
System : windows 7 64bit

schuler

  • Full Member
  • ***
  • Posts: 126
Re: Conscious Artificial Intelligence - Project Update
« Reply #20 on: October 08, 2019, 12:46:20 pm »
@nouzi, thank you!

@Thaddy, I think that the new CAI Neural API subproject currently placed at https://github.com/joaopauloschuler/neural-api is ready for testing.

In the case that no major bug is found on the near future, I'll call it CAI Neural API v1.0.

:) wish everyone happy pascal solution construction :)

schuler

  • Full Member
  • ***
  • Posts: 126
Re: Conscious Artificial Intelligence - Project Update
« Reply #21 on: October 19, 2019, 07:08:25 pm »
:) Hi :)
To whom is interested in computer vision and has never had a look at MNIST (http://yann.lecun.com/exdb/mnist/) or Fashion MNIST (https://github.com/zalandoresearch/fashion-mnist), I highly recommend clicking on these links. MNIST contains images with handwritten digits while Fashion MNIST contains 10 clothing classes.

At this moment, these datasets have API support:
  • CIFAR-10
  • CIFAR-100
  • MNIST
  • FASHION MNIST
Source code examples for MNIST and Fashion MNIST have just been added:
:) wish everyone happy pascal coding :)

avra

  • Hero Member
  • *****
  • Posts: 1712
    • Additional info
Re: Conscious Artificial Intelligence - Project Update
« Reply #22 on: October 20, 2019, 06:12:42 pm »
Nice! Things are getting better and better.  :P
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

nouzi

  • Full Member
  • ***
  • Posts: 140
Re: Conscious Artificial Intelligence - Project Update
« Reply #23 on: October 20, 2019, 08:40:51 pm »
@schuler

you are a hero
my english is  bad
Lazarus 2.0 free pascal 3.0.4
Lazarus trunk  free pascal trunk 
System : windows 7 64bit

schuler

  • Full Member
  • ***
  • Posts: 126
Re: Conscious Artificial Intelligence - Project Update
« Reply #24 on: October 26, 2019, 01:39:47 pm »
@avra and @nouzi,
Thank you for your support.

Just asked to include a Free Pascal benchmark into the Fashion MNIST benchmark list:
https://github.com/zalandoresearch/fashion-mnist/issues/153

Got 94% accuracy with just 174K parameters. In the benchmark list (https://github.com/zalandoresearch/fashion-mnist), you'll find results with 26M parameters...

:) wish everyone happy pascal coding :)

Thaddy

  • Hero Member
  • *****
  • Posts: 9167
Re: Conscious Artificial Intelligence - Project Update
« Reply #25 on: October 26, 2019, 01:42:36 pm »
That is extremely good!!
also related to equus asinus.

schuler

  • Full Member
  • ***
  • Posts: 126
Re: Conscious Artificial Intelligence - Project Update
« Reply #26 on: November 05, 2019, 12:42:22 am »
 :) ,
I would like to ask everyone: what is the feature or example that you would like to be added? Feel free to ask. In the case that you ask for something that I can do quickly or I already have it half baked, I might just spend some minutes typing code.

:) wish everyone happy pascal coding :)

MathMan

  • Full Member
  • ***
  • Posts: 166
Re: Conscious Artificial Intelligence - Project Update
« Reply #27 on: November 05, 2019, 01:43:33 pm »
:) ,
I would like to ask everyone: what is the feature or example that you would like to be added? Feel free to ask. In the case that you ask for something that I can do quickly or I already have it half baked, I might just spend some minutes typing code.

:) wish everyone happy pascal coding :)

Before I answer I have to admit that I neither played with CAI, nor will I have time to do so in the foreseeable future. So if you don't mind suggestions from a purely theoretical perspective

* (fully) binarized neural network - (F)BNN
* bayesian confidence propagation neural network - BCPNN

Both to me look, from what I have read, like interesting approaches addressing topics like reduced power consumption, inference capabilities, etc. But, also from what I read, both might be major developments.

Cheers,
MathMan

circular

  • Hero Member
  • *****
  • Posts: 3022
    • Personal webpage
Re: Conscious Artificial Intelligence - Project Update
« Reply #28 on: November 05, 2019, 03:54:06 pm »
That looks amazing, being able to program neural networks in Pascal. I wonder if that can be useful in LazPaint? Some image processing features might be more efficient with neural networks.
Conscience is the debugger of the mind

Thaddy

  • Hero Member
  • *****
  • Posts: 9167
Re: Conscious Artificial Intelligence - Project Update
« Reply #29 on: November 05, 2019, 05:29:11 pm »
That looks amazing, being able to program neural networks in Pascal. I wonder if that can be useful in LazPaint? Some image processing features might be more efficient with neural networks.
Well, one of the examples is about recognition, but it needs to learn. That process is quite slow (hours and days even months), but the code renders quite amazing results after that, and once established -to your specification! you have to stop learning! at some point -  it is fast.
And well written pure pascal.
What is maybe missing is just some pre-processing along the lines of my fuzzy code (on this forum, Zadeh logic) that would help a bit in some scenario's as a filter, but is actually a completely different subject and is AI but not machine learning AI, what  schuler's library is all about.
If you are interested: the code is really good  and you pick it up quite fast if you have just a tiny bit of background. It is one of my favorite Freepascal projects.

Example: if you feed it enough number plate examples ( say, a million, from all angles ) and you run for some months, you have a fast number plate recognition software with high probability of being correct. But the fun is is really to use it on comic book examples and let it filter out Daffy Duck...
« Last Edit: November 05, 2019, 05:40:47 pm by Thaddy »
also related to equus asinus.