Naughty Programmer's Madness
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    node-red-contrib-neuralnetpublic

    node-red-contrib-neuralnet

    This node provides neural networks. It is based on brain.js (version 1.0.0-rc.3).

    Install

    From your node-red directory:

    npm install node-red-contrib-neuralnet
    

    or

    in the Node-red, Manage palette, Install node-red-contrib-neuralnet

    Usage

    This node provides neural networks.
    At first you need to see the brain.js documentation

    The following neural networks are available :

    • Feedforward Neural Network with backpropagation.
    • Recurrent Neural Network (BETA).
    • Long Short Term Memory Neural Network (BETA).
    • Gated Recurrent Unit (BETA).

    Training

    The training data need to be stored in msg.trainData and the format is described here.
    The network options can be provided in msg.neuralNetworkOptions.

    When the training is done, the network is available in msg.net and can be stored to be imported next time.

    Run

    The running data need to be stored in msg.runData.

    The result is available in msg.decision.

    Import network

    When the input message contains msg.netJSON, the network is loaded from the JSON provided.

    License

    MIT License

    install

    npm i node-red-contrib-neuralnet

    Downloadslast 7 days

    34

    version

    0.0.3

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar