🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ann-js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ann-js - npm Package Compare versions

Comparing version

to
0.1.1

.travis.yml

11

package.json

@@ -5,3 +5,3 @@ {

"author": "Tomáš Roun <tomas.roun8@gmail.com>",
"version": "0.1.0",
"version": "0.1.1",
"repository": {

@@ -12,3 +12,10 @@ "type": "git",

"license": "MIT",
"main": "3layer.js"
"main": "3layer.js",
"devDependencies": {
"mocha": "^2.5.0",
"chai": "^3.5.0"
},
"scripts": {
"test": "mocha"
}
}

9

README.md
# ann-js
Artificial neural network in vanilla JS
[![Build Status](https://travis-ci.org/zedpowa/ann.svg?branch=master)](https://travis-ci.org/zedpowa/ann)
---

@@ -22,3 +23,3 @@

// require the network
const NeuralNetwork = require("./3layer.js");
const NeuralNetwork = require("ann-js");

@@ -55,3 +56,2 @@ // instantiate a network with two inputs, 7 hidden neurons and 1 output

## Methods
---

@@ -102,3 +102,4 @@ ### Constructor: NeuralNetwork(numInputs, numHidden, numOutputs, [ learningRate, [ bias ]])

Asynchronously saved or loads the weights of the network.
Asynchronously saves or loads the weights of the network.
The saved file is in a json format.

@@ -134,2 +135,2 @@ ```javascript

NN2.loadSync("saved2.json");
```
```

Sorry, the diff of this file is not supported yet