Skip to content

Neural network for course OTM of University of Helsinki

Notifications You must be signed in to change notification settings

alintulu/NNMaven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural Network

This repository contains a neural network built in Java for the course of OhjelmistoTekniikan Menetelmä (OTM) at the University of Helsinki. The network works on poly-dimensional input data however it comes with a ready built method to train and validate it on one-dimensional inpu data of a cosine curve.

The network uses the activation function of the sigmoid curve and the optimizer of gradient descent. It performs well on one-dimensional input data however the performance declines quickly as the dimensions increase. The current performance can be seen here.

The source code is located in the folder src. Instructions how to employ the network and basic knowledge of the network and output is located in the folder documentation.

Documentation

  1. Instructions
  2. Basic knowledge of a neural network
  3. Understanding the output of the network

Running

To compile and run the code, in the root directory (current) perform the following command

mvn compile exec:java -Dexec.mainClass=UI.Main

start screen random points trained points loss and error

Testing

The test code is located in the folder test For testing the program, the following command can be performed in the root directory

mvn test

About

Neural network for course OTM of University of Helsinki

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages