Skip to content
A neural network built from scratch in Java. Work in progress...
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
out/production/Simple NN in Java
src
.gitignore
LICENSE
README.md
Simple NN in Java.iml
fast
fast.py

README.md

Neural Network

A simple neural network built from scratch in Java.

Use

  1. Clone the repository: $ git clone https://github.com/dannydenenberg/simple_nn_in_java.git
  2. Go into the source: $ cd simple_nn_in_java/src
  3. Pick out the libraries you want to use and copy the file into your code base

Files

Matrix.java

  • This is a matrix library built from scratch in Java.
  • Includes all basic element wise operations as well as dot product, transpose, print functions, and more.

Shape.java

  • A simple class to represent the shape of a matrix.

ActivationFunction.java

  • Represents a single activation function.
  • During initialization, specify the activation function you want to use, and when you call activate(double number), it will use the specified function

Layer.java

  • A single layer in the network.
  • Has its own weights, biases, and activation functions.
You can’t perform that action at this time.