ml-fnn
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18347
9
338
100
1
+ Addedml-array-utils@0.2.4(transitive)
+ Addedml-binary-search@1.1.2(transitive)
+ Addedml-matrix@1.4.0(transitive)
+ Addedml-stat@1.3.3(transitive)
- Removedml-matrix@0.1.0(transitive)
Updatedml-matrix@^1.0.3