Skip to content

AbdeI1/NeuralNetwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural Network

This repo contains code for a working Neuralt Network implementation in Java. The network can be constructed as follows:

int[] layers = {5, 7, 8, 2};
Network N = new Network(layers);

where layers is an array specifying the number of hidden nodes in each layer of the network. Further parameters can be added to the constructor to specify stuff like activations for each layer, cost function, and learning rate. The Network can the be trained with:

N.train(input, expected);

where input is the input Matrix and expected is the expected output of the network. Example usage of the Network on the MNIST dataset can be found the Driver.java file (the actual data is not included within the repo and must be downloaded separately and placed within a data directory). Supported activations and cost functions can be found within their respective folders.

About

Neural Network framework for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages