danomatika / neuralnet

An Artificial Neural Network framework for Pure Data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

neuralnet

Version 0.2

An Artificial Neural Network framework for Pure Data

[neuralnet] is an artificial neural network Pd external, written in pure C, without any dependencies. It is inspired by the book "Neural Networks from Scratch in Python" by Harrison Kinsley & Daniel Kukieła. It is an attempt to translate the Python code to C with the Pure Data API, to run neural networks within Pd.

[neuralnet] creates densely connected neural networks for classification, regression, and binary logistic regression. There are different activation functions and optimizers you can set, and various other settable parameters. The object's help patch and the examples found in the examples directory should cover all the necessary information.

Note about Make

This repository uses the pd-lib-builder Makefile system. You can get it from here. The directory of the Makefile should be in the same directory of the neuralnet directory.

Note about the examples

Example 03-mouse_input.pd uses [mousestate] from the Cyclone library, to get the coordinates of the mouse. Example 04-fahion_mnist.pd uses the [command] external, plus some Python scripts (called via [command]). Example 05-accelerometer_input.pd uses a mobile app to send accelerometer values via OSC.

All external objects used in the examples can be installed via the deken plugin (Help->Find externals).

Log:
-Fixes crash on Windows with the set_activation_function() message that took A_FLOAT and A_SYMBOL as arguments, which apparently in Windows is not possible.

Written by Alexandros Drymonitis

About

An Artificial Neural Network framework for Pure Data

License:GNU General Public License v3.0


Languages

Language:C 99.9%Language:Makefile 0.1%