Catalog npm
Back to packageRELEASE DETAILS

1.0.0

npm

@00f100/neuralnetworkjs

Neural network in JS

Published10 Oct 2019
Direct dependencies0
Transitive dependenciesNot calculated

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.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "b11e4aa9399bb8bf930ec7dfbe8694af7846d71a",
  "tarball": "https://registry.npmjs.org/@00f100/neuralnetworkjs/-/neuralnetworkjs-1.0.0.tgz",
  "integrity": "sha512-YyPMJD6gDD0AZTXasQJ7KJE6Om0hEMslI+yekApnY+TVfDLdb4F0I5AYnjQ+bAGYAYheij2jNfq6enZPXJdbOA==",
  "fileCount": 4,
  "unpackedSize": 84677,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnr/pCRA9TVsSAnZWagAAeyYP+wUu+fvDDDkldVmRhIZ/\nLa2pjkyIASxyMRmvmK3/YgF+DNHJqW/K2gcBVsNCij6fuESDsEJ5fXPQvA3d\nE0U6bq85SGxR6K1MfmF87L53PZrJtLgp0AejCOhvU5nKbTFkoRPlme64u3XK\nPl8myt2F0dzmf54XGjqNuwkyaHPl7FotNecYEdHev7Mz11FrcjAgbu8ZpsJs\ngNukbMLvxXhE9SNIyK1AT0Xy3/EDxCGp4AuvTH2E7BSSydocIlCULy/cXNgu\n9SPQOSmoLJ+hV2V7UxC54WradE7H5pnbUjFmJzhJ4O8coyZxMTQRr9avQtoO\n3nMPQx/hmB2c9ULrCvFnvC1TJWvBDQFe/vDD5vR5Z0uTG0vTgX4Pi3jrV9I0\nSwOcL6RbCqunho74xFADXDws8RloSQ5iCL9qWUK+wqDsxylC8UCi3zJSU8Jm\nZHF1ScfeJiVGTEMJILB7FwtSOzfZNf9upgItWxgEvD/bcSR7iMGPRkMXGiiZ\n35itSyjq72wqJMYNIIKh7rhV6pUrioHPl5QfyAsRaSW6T/TUhDBQx83cLi8+\nVW28nJzzjKBqm0bPvXI4paCHEcWLN1PXxyS6boHRR3kUeGw46UmoTOy1PXNL\nPBF3OwWEYF+ukfSBPz1qcu23dwdRKOy8rwNgpWvwf++t+bOuoC6AC+IMq4RM\nVXAo\r\n=4RdQ\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDAgeH3mRFue70AaltMED9JajEqsMJ4QG3PoMP/y/uxlgIgd1tpVI/+o7ifvW2J50sHemoDF0M5nilyXqYqZBVzVpY="
    }
  ]
}

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_version:2ef58a04afefb0d831c153365b7b122fd4bad9f77ce70bd69987f24e42470eb9

Other collected versions

1.0.210 Oct1.0.110 OctView all collected versions →