npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

neuraldeep

v1.1.5

Published

Create, train, test and compare perceptron neural networks

Downloads

7

Readme

NeuralDeep

Now yo can create, train, test and compare easly diferents secuential neural networks with diferents architectures for select the architecture that better solve your problems.NeuralDeep allow to see the performance and the error rate of differents neural networks and compare these with a ranking table. Also you can to export your neural networks to a json file to use with Synaptic.

  • The neural networks only can recive binary inputs and only send binary outputs.

NeuralDeep is a console interface based in the library of deep learning named: Synaptic.

Index

Requirements

Install

npm install -g neuraldeep

Use

  1. Create a neuraldeep project:

neuraldeep init <projectName>

  • projectName: String with the name of the project (One project can contain multiples neural networks).
  1. Go to the root of the project:

cd <projectName>

  1. Now you can start using neuraldeep.

For use this CI, first of all you must create a neural network, making a datasheet more info...

Then you can execute, test and compare the neural networks.

Train and Create a new Neural Network

  1. First of all you have to create the training data to train the neural network, so you have to create a training data file in the trainingData folder, following the syntax of the training data file example.
  • The name of the trainingData file must be the same name of the neural network.
  1. Now to create the network, you must execute the following command:

neuraldeep create <name> <architecture>

  • name: The name of the Neural Network and the Training Data File.

  • architecture: The Architecture of the Neural Network. Input,deep and output neurons.

  • example: neuraldeep create neuralNetwork1 20 4 4 2. This command creates a neural network named neuralNetwork1 with 20 input neurons, two hidden layers with 4 neurons and two output neurons.

  • The Neural Network is saved in the neuralNetwork folder.

Execute a Neural Network

  • First, you must have to create a Neural Network with the neuraldeep create command. After that, to execute the Neural Network created you must use the command:

neuraldeep run <name> <binaryInputArray>

  • name: The name of the Neural Network and the Training Data File.
  • binaryInputArray: The input of the Neural Network in array format, for example If the neural network have 8 input neurons, the input may be [0,0,0,0,0,0,1,1].

Test a Neural Network

  1. First of all you have to create a neural network (with neuraldeep create) and the test data to test it, so you have to create a test data file in the testData folder, following the syntax of the test data file example.
  • The name of the testData file must be the same name of the neural network.
  1. Now to test the network, you must execute the following command:

neuraldeep test <name>

  • name: The name of the Neural Network and the Test Data File.

  • This command has the extensive option (-e or --extensive) whitch showing all failed tests.

Compare Two or More Neural Networks

  1. First of all you have to create two or more neural network (with neuraldeep create),the neural network must have the same base name: baseName_version and the test data to test its, so you have to create a test data file in the testData folder, following the syntax of the test data file example. (the name of the test data file must be the base name of the neural networks).
  2. Now to compare the neural networks, you must execute the following command:

neuraldeep compare <baseName>

  • baseName: The name of the test data file and the base name of the neural networks.

  • This command has the top option (-t or --top) whitch recive the neural items number and show a ranking table until the last item number.