Skip to content

alexdrymonitis/neuralnet

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 29, 2022 17:29
July 29, 2022 17:14
June 29, 2022 17:29
June 29, 2022 18:03
August 2, 2022 12:50
July 1, 2022 08:45

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. For example, run:

cd ../
git clone https://github.com/pure-data/pd-lib-builder.git
cd -

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