Socket
Socket
Sign inDemoInstall

ml-fnn

Package Overview
Dependencies
4
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

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

@@ -32,3 +32,3 @@ "main": "src/index.js",

"dependencies": {
"ml-matrix": "0.1.0"
"ml-matrix": "^1.0.3"
},

@@ -35,0 +35,0 @@ "devDependencies": {

@@ -15,8 +15,4 @@ # Feedforward Neural Network

### new FeedforwardNeuralNetwork([LayersSize])
### new FeedforwardNeuralNetwork()
__Arguments__
* `layersSize` - Array of numbers with sizes of each layer.
__Example__

@@ -28,3 +24,3 @@

### train(trainingSet, predictions, iterations, learningRate, momentum)
### train(trainingSet, predictions, options)

@@ -105,2 +101,2 @@ Train the Neural Network with a given training set, predictions, learning rate and a

[download-image]: https://img.shields.io/npm/dm/ml-fnn.svg?style=flat-square
[download-url]: https://npmjs.org/package/ml-fnn
[download-url]: https://npmjs.org/package/ml-fnn

@@ -151,3 +151,3 @@ "use strict";

result = Matrix(result);
result = new Matrix(result);
return result.columns === 1 ? result.getColumn(0) : result;

@@ -179,2 +179,2 @@ };

};
};
};

@@ -1,1 +0,1 @@

module.exports = require('./feedforwardNeuralNetwork');
module.exports = require('./feedforwardNeuralNetwork');

@@ -113,2 +113,2 @@ "use strict";

return nextError;
};
};

@@ -113,2 +113,2 @@ "use strict";

});
});
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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