Catalog npm
Back to packageRELEASE DETAILS

1.0.2

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": "e51e32dc898831a6b410b0bc5f088f5a26f6c33b",
  "tarball": "https://registry.npmjs.org/@00f100/neuralnetworkjs/-/neuralnetworkjs-1.0.2.tgz",
  "integrity": "sha512-h4DxlQNjlpwwiaO2plvYV4/d1BvFQIKsu1cBc99gyJM9Ss0rf5E0lBh4M1+Kqbskgr1Wji/fy4ZW+p+NOi1U/Q==",
  "fileCount": 4,
  "unpackedSize": 84783,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdn6cvCRA9TVsSAnZWagAAYVQP/iA2dfaiCtAGBkOlM1Mg\nUK5PblxOOARNTYq8SlOSf3iFXJyKgHLJtKjLdNuq/5W2ZKlCsrJkPHXOQ5d3\nnJ3ZhMs0Ogdsv0zfsKZRN9SNdYHXwh6LawhKsL0LiHJuWhLNlxRzlrNWWxsJ\nDnSpTquoCJTZl+1TUBil4RZxPavhfKlpNsHZGpitP06GUZvXttCfA6Iy7FB/\nheR9oVGnuc9qIhphu042xyT7tkm4h8M+qpb+6lz039OgyguKrLUevmfayvv+\nJNCuXmHBCZu4U/iJ9wXLFDyv5aoZW6x1GZr9IjdohBmearE28N3QGCsu3+vF\ndqC1/ibV1iMRgREgf3iX9qTf1/52fYX2LwNPO3hQEdHLYOjTFAejsaHtwYxC\nAIv/5dYhX1GDuRZrkOLZiDdA9XBVWYfWdPRQt1SXqgycZUXOjtuiBBBnF6Da\nSvSTfsYI++bMj8wzSJazvCc26Rk2gxzGbvXpf7FALsnHs8lCjbxLCnFOEnxT\n5nnRZDXF2YvUf9GMja8cjylxPgwDlPD4hvR3tzE9EekZJgcURolSfYVRXYuS\nRoyLqGsF+u2/w19f55tVW9QRDpmwDAHHk2htN7Lh1KCgrg0VKSRIL0CkCs/9\nr3dEE7RG9uTWFOfiXza8zOeY2HyMbs1xMtH2NbVMnlhpqs93M4m81bqtysIx\nLvje\r\n=4hf3\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCTs88ScuJwLZvyNd4eWYFALwHFsay+UmrE54LTCvwHCAIhAKxk7LHUvGvcrdpvFoxHkfWoqLflY8oiukJfzzkcB+30"
    }
  ]
}

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:59df1965c76285111f54527c150905be645b48c8ea6ca6b8884f0d2a22e44ab9

Other collected versions

1.0.110 Oct1.0.010 OctView all collected versions →