Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/compressed/BackpropNeuralNet.jl
A neural network in Julia
https://github.com/compressed/BackpropNeuralNet.jl
Last synced: about 2 months ago
JSON representation
A neural network in Julia
- Host: GitHub
- URL: https://github.com/compressed/BackpropNeuralNet.jl
- Owner: compressed
- License: other
- Created: 2012-09-30T23:07:36.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T20:30:52.000Z (over 7 years ago)
- Last Synced: 2024-05-22T08:29:53.459Z (4 months ago)
- Language: Julia
- Size: 19.5 KB
- Stars: 47
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-julia-datasciences - Neural - A neural network in Julia. (APL / General-Purpose Machine Learning)
README
[![Build Status](https://travis-ci.org/compressed/BackpropNeuralNet.jl.svg?branch=master)](https://travis-ci.org/compressed/BackpropNeuralNet.jl)
[![Coverage Status](https://img.shields.io/coveralls/compressed/BackpropNeuralNet.jl.svg)](https://coveralls.io/r/compressed/BackpropNeuralNet.jl)
[![BackpropNeuralNet](http://pkg.julialang.org/badges/BackpropNeuralNet_0.4.svg)](http://pkg.julialang.org/?pkg=BackpropNeuralNet)
[![BackpropNeuralNet](http://pkg.julialang.org/badges/BackpropNeuralNet_0.5.svg)](http://pkg.julialang.org/?pkg=BackpropNeuralNet)# Install
## Stable
```julia
Pkg.add("BackpropNeuralNet")
```## Source
```julia
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:
```julia
using BackpropNeuralNetnet = 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](https://github.com/SergioFierens/ai4r).