# node-ann

> A implementation of an Artifical Neural Network with Backpropagation learning.

Latest version **0.4.2** (published 2017-01-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-ann
pnpm add node-ann
yarn add node-ann
bun add node-ann
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.2 |
| Published | 2017-01-28 |
| First published | 2015-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Matthew Elphick |
| Maintainers | maael |
| Keywords | neural, network, artifical, learning, backpropagation, mse |

## Links

- npm: https://www.npmjs.com/package/node-ann
- Repository: https://github.com/maael/node-ann
- Issues: https://github.com/maael/node-ann/issues
- npm.io page: https://npm.io/package/node-ann

## Recent versions

- 0.4.2 (latest) — 2017-01-28
- 0.4.1 — 2015-03-26
- 0.4.0 — 2015-03-26
- 0.3.0 — 2015-03-25
- 0.2.2 — 2015-03-16
- 0.2.1 — 2015-03-16
- 0.2.0 — 2015-03-08
- 0.1.14 — 2015-03-03
- 0.1.13 — 2015-03-02
- 0.1.12 — 2015-03-02
- 0.0.12 — 2015-02-26
- 0.0.11 — 2015-02-22
- 0.0.10 — 2015-02-22
- 0.0.9 — 2015-02-19
- 0.0.8 — 2015-02-18
- … 6 more at https://npm.io/package/node-ann/versions

## README

# node-ann
[![Build Status](https://img.shields.io/travis/maael/node-ann.svg)](https://travis-ci.org/maael/node-ann)
[![Code Climate](https://img.shields.io/codeclimate/github/maael/node-ann.svg)](https://codeclimate.com/github/maael/node-ann)

A node package implementation of a Artificial Neural Network in JavaScript with Backpropagation learning algorithm.

## Perceptron
```js
    var perceptron = new ann.perceptron({id: 'namedID', bias: '1', type: 'hidden'});
```

## Network
```js
    var network = new ann.ann();
```

### addPerceptron()
```js
    network.addPerceptron(perceptron);
```

### addWeighting()
```js
    network.addWeighting({from: 'u1', to: 'u2', weighting: 1});
```

### getWeightings()
```js
    network.getWeightings();
```

### findPerceptron()
```js
    network.findPerceptron(id);
```

---
_Source: https://npm.io/package/node-ann · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
