Universal topology neural network

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
darkfrei
Party member
Posts: 1209
Joined: Sat Feb 08, 2020 11:09 pm

Universal topology neural network

Post by darkfrei »

Hi all!


I've made my first neural network, with my own topology and activation function.

This implementation searches the answer for XOR, it needs just 5 nodes:
2 input nodes;
2 middle (hidden nodes)
1 output node.

Every nod has own "layer", but every node is connected to all previous nodes. So, for this 5 nodes we are need 10 weights, 5 biases.
Actually, first two biases are not needed, first weight too.

The graph shows the error for all 4 examples.
There is just only small mutation, I need to fix it.
Attachments
2020-11-29T20_58_27-XOR, universal-neural-network v.1-02 (Löve v.11.3).png
2020-11-29T20_58_27-XOR, universal-neural-network v.1-02 (Löve v.11.3).png (49.04 KiB) Viewed 2537 times
2-2-1-topology.png
2-2-1-topology.png (27.1 KiB) Viewed 2537 times
universal-neural-network-02.love
(32.02 KiB) Downloaded 118 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
darkfrei
Party member
Posts: 1209
Joined: Sat Feb 08, 2020 11:09 pm

Re: Universal topology neural network

Post by darkfrei »

My activation function:
Attachments
2020-08-04T20_19_20-Desmos _ Grafik-Rechner.png
2020-08-04T20_19_20-Desmos _ Grafik-Rechner.png (154.19 KiB) Viewed 2535 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
Post Reply

Who is online

Users browsing this forum: pgimeno and 2 guests