Comparing version 0.1.0 to 0.1.1
@@ -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" | ||
} | ||
} |
# 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11069
7
133
2
1