Socket
Socket
Sign inDemoInstall

ml-fnn

Package Overview
Dependencies
1
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "ml-fnn",
"version": "0.0.1",
"version": "0.0.2",
"description": "feedforward neural networks library",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -86,7 +86,13 @@ "use strict";

for (i = this.layers.length - 1; i >= 0; i--) {
error = this.layers[i].train(error, learningRate, momentum);
var layersNum = this.layers.length;
for(i = 0; i < layersNum; ++i) {
error = this.layers[layersNum - i - 1].train(error, learningRate, momentum)
}
};
FeedforwardNeuralNetwork.prototype.flagFunction = function () {
return 0;
};
/**

@@ -93,0 +99,0 @@ * Method that train the neural network with a given training set with corresponding

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc