• Stars
    star
    47
  • Rank 584,055 (Top 12 %)
  • Language
    Julia
  • License
    Other
  • Created over 11 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A neural network in Julia

Build Status Coverage Status BackpropNeuralNet BackpropNeuralNet

Install

Stable

Pkg.add("BackpropNeuralNet")

Source

Pkg.clone("https://github.com/compressed/BackpropNeuralNet.jl.git")

Usage

To initialize a network of 2 inputs, 1 hidden layer with 3 neurons, and 2 outputs:

using BackpropNeuralNet

net = init_network([2, 3, 2])

# To train the network use the form `train(network, input, output)`:
train(net, [0.15, 0.7],[0.1, 0.9])

# To evaluate an input use the form `net_eval(network, inputs)`
net_eval(net, [0.15, 0.7])

History

This is a Julia implementation of a neural network based on Sergio Fierens ruby version.