electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Instruments and Equipment » WREN
Perceptron - Tip for new module
Post new topic   Reply to topic
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
JLS



Joined: Nov 05, 2005
Posts: 490
Location: Czech
Audio files: 30
G2 patch files: 316

PostPosted: Wed Sep 30, 2015 2:03 am    Post subject: Perceptron - Tip for new module Reply with quote  Mark this post and the followings unread

Hi Jan

Little tip for new wren module

Perceptron a simple neural network https://en.wikipedia.org/wiki/Perceptron

Kamil

_________________
Sorry my bad English Smile
https://soundcloud.com/1jls
https://soundcloud.com/user-819966312-266044932
https://github.com/jlswbs
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Wed Sep 30, 2015 4:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks :-)

Will look into it.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
JLS



Joined: Nov 05, 2005
Posts: 490
Location: Czech
Audio files: 30
G2 patch files: 316

PostPosted: Thu Oct 08, 2015 5:00 am    Post subject: Reply with quote  Mark this post and the followings unread

https://en.wikipedia.org/wiki/Hopfield_network
_________________
Sorry my bad English Smile
https://soundcloud.com/1jls
https://soundcloud.com/user-819966312-266044932
https://github.com/jlswbs
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sun Oct 11, 2015 12:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

I could see some use for neural networks, and in fact had started some work on them before ... with a module looking like:

Posted Image, might have been reduced in size. Click Image to view fullscreen.

Internally this uses the FANN ( http://leenissen.dk/fann/wp/ ) code for network calculation. This module can process feedforward multi-layer networks with 12 input and 12 output neurons. The number of neurons in the internal layers is pretty much arbitrary.

When i understand it right a perceptron is a feedforward network, and as such the FANN library could implement it.

The reason that I never published this module is .. that I see no handy way for training networks. Training would have to be an offline, non-realtime operation, and so it would need a separate program, or a separate (learning) mode of Wren to perform the calculations.

For the network to do useful audio related things you would probably want to train it on audio data, so to have learning as some separate mode in Wren seems to make most sense then.

Anyway, sofar I have not been able to come up with a solution for this issue.

Re. the Hopfiled network, as far as I can tell the FANN library is not able to handle such networks, so I'd have to implement that from scratch, or possibly using some other toolkit. Still, there would be the same issue there ... what would be a good way to train the network.

Training requires two things to be present, being 1) a set of training data and 2) some desired 'outcome' for that data.

I have been experimenting a bit with this for a different project where I had a couple sensors from which I wanted to draw some conclusions. For that purpose I then wrote a graphing program in which I could just draw the desired outcome and then could make the network learn from 1) the measured data and 2) the drawn graph. This did give some reasonable output for the problem then (although sales thought 90% accurate results to be not good enough). Actually .. I did use a modified (non-realtime) version of Wren for this project to do the calculations for me (and that is where this neuron module actually came from) Wink

Anyway, I think a network module would need extra tools, like the one mentioned above, before they would be useful.

Then again, this all is my limited vision Smile

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
JLS



Joined: Nov 05, 2005
Posts: 490
Location: Czech
Audio files: 30
G2 patch files: 316

PostPosted: Tue Oct 13, 2015 5:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi Jan

I see your private works and fascinating me this is very complex and hard.

My first idea was only simple feedback matrix like "neural network" for unstable oscillation and glitch sounds.

Totally respect for your works !

Kamil

_________________
Sorry my bad English Smile
https://soundcloud.com/1jls
https://soundcloud.com/user-819966312-266044932
https://github.com/jlswbs
Back to top
View user's profile Send private message Visit poster's website
JLS



Joined: Nov 05, 2005
Posts: 490
Location: Czech
Audio files: 30
G2 patch files: 316

PostPosted: Tue Oct 13, 2015 5:48 am    Post subject: Reply with quote  Mark this post and the followings unread

My inspiration

https://puredata.info/dev/summer-of-code/ArtificialNeuralNetworksLibrary

https://www.youtube.com/watch?v=YK4dsjbxas8

_________________
Sorry my bad English Smile
https://soundcloud.com/1jls
https://soundcloud.com/user-819966312-266044932
https://github.com/jlswbs
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Instruments and Equipment » WREN
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use