Catalog npm
PACKAGE EXPLORERView in registry

@00f100/neuralnetworkjs

npm

Neural network in JS

Versions collected3
Direct dependencies0From release 1.0.2
Last observed20 Oct, 21:54 UTC

README

Current package documentation

NeuralNetworkJS

Netural network in JS

How to install

$ npm install @00f100/neuralnetworkjs

in HTML file, include script

<script type="text/javascript" src="node_modules/@00f100/neuralnetworkjs/src/neural-network.js"></script>

How to use

in this example, imagine this:

neural network example

// weightSeq are the weights to apply. If null is generated.
var context = {
    weightSeq: null
};

// "matrix" is a list of weights to apply. If the length of the "matrix" list is different from the total "matrix weights", it will be ignored and "context.weightSeq" will be used.
var matrix = [];

// "input" data to input
var input = [1, 5, 20, 4, 204, 43];

// "hiddenColumn" hidden columns of neurons
var hiddenColumn = 3;

// "hiddenRow" hidden rows of neurons
var hiddenRow = 4;

// "outputColumns" output options. Return array integer 0 or 1, ex: [1, 0, 1]
var outputColumns = 3;

// "outputData" is a callback function to see output result
var outputData = function(output) {
    console.log(output); // ex: [1, 0, 1]
}

// Execute neural network
NeuralNetwork.exec(context, matrix, input, hiddenColumn, hiddenRow, outputColumns, outputData);

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 3

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.2Registry latest10 Oct 20190
1.0.110 Oct 20190
1.0.010 Oct 20190

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
00f100/neuralnetworkjs

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:54 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c13fff7d20f0a9e5817493294a0e40c72c57dffae4d96e8dccf02e98a8300a3a