ml-levenberg-marquardt
Advanced tools
Comparing version 3.1.0 to 3.1.1
# Changelog | ||
### [3.1.1](https://www.github.com/mljs/levenberg-marquardt/compare/v3.1.0...v3.1.1) (2021-03-24) | ||
### Bug Fixes | ||
* update dependencies ([1871fb2](https://www.github.com/mljs/levenberg-marquardt/commit/1871fb215bf0cee91b9b8f7e1f0e7553dee35e0d)) | ||
## [3.1.0](https://www.github.com/mljs/levenberg-marquardt/compare/v3.0.1...v3.1.0) (2020-12-20) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "ml-levenberg-marquardt", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Curve fitting method in javascript", | ||
@@ -40,18 +40,18 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@babel/plugin-transform-modules-commonjs": "^7.12.1", | ||
"@babel/plugin-transform-modules-commonjs": "^7.13.8", | ||
"benchmark": "^2.1.4", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^7.14.0", | ||
"eslint-config-cheminfo": "^5.2.2", | ||
"eslint": "^7.22.0", | ||
"eslint-config-cheminfo": "^5.2.3", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^24.1.3", | ||
"eslint-plugin-prettier": "^3.2.0", | ||
"eslint-plugin-jest": "^24.3.2", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"jest": "^26.6.3", | ||
"jest-matcher-deep-close-to": "^2.0.1", | ||
"prettier": "^2.2.1", | ||
"rollup": "^2.34.1" | ||
"rollup": "^2.42.3" | ||
}, | ||
"dependencies": { | ||
"is-any-array": "^0.1.0", | ||
"ml-matrix": "^6.5.3" | ||
"is-any-array": "^1.0.0", | ||
"ml-matrix": "^6.7.0" | ||
}, | ||
@@ -58,0 +58,0 @@ "config": { |
# levenberg-marquardt | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
[![build status][ci-image]][ci-url] | ||
[![Test coverage][codecov-image]][codecov-url] | ||
@@ -25,5 +25,7 @@ [![npm download][download-image]][download-url] | ||
### centralDifference | ||
The jacobian matrix is approximated by finite difference; forward differences or central differences (one additional function evaluation). The option centralDifference select one of them, by default the jacobian is calculated by forward difference. | ||
### gradientDifference | ||
The jacobian matrix is approximated as mention above, the gradientDifference option is the step size (dp) to calculate de difference between the function with the current parameter state and the perturbation added. It could be a number (same step size for all parameters) or an array with different values for each parameter, if the gradientDifference is zero the derive will be zero, and the parameter will hold fixed | ||
@@ -51,3 +53,3 @@ | ||
/* y1, y2, ... */ | ||
] | ||
], | ||
}; | ||
@@ -75,3 +77,3 @@ | ||
maxIterations: 100, | ||
errorTolerance: 10e-3 | ||
errorTolerance: 10e-3, | ||
}; | ||
@@ -88,9 +90,9 @@ | ||
[npm-image]: https://img.shields.io/npm/v/ml-levenberg-marquardt.svg?style=flat-square | ||
[npm-image]: https://img.shields.io/npm/v/ml-levenberg-marquardt.svg | ||
[npm-url]: https://npmjs.org/package/ml-levenberg-marquardt | ||
[travis-image]: https://img.shields.io/travis/mljs/levenberg-marquardt/master.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/mljs/levenberg-marquardt | ||
[codecov-image]: https://img.shields.io/codecov/c/github/mljs/levenberg-marquardt.svg?style=flat-square | ||
[codecov-image]: https://img.shields.io/codecov/c/github/mljs/levenberg-marquardt.svg | ||
[codecov-url]: https://codecov.io/gh/mljs/levenberg-marquardt | ||
[download-image]: https://img.shields.io/npm/dm/ml-levenberg-marquardt.svg?style=flat-square | ||
[ci-image]: https://github.com/mljs/levenberg-marquardt/workflows/Node.js%20CI/badge.svg?branch=master | ||
[ci-url]: https://github.com/mljs/levenberg-marquardt/actions?query=workflow%3A%22Node.js+CI%22 | ||
[download-image]: https://img.shields.io/npm/dm/ml-levenberg-marquardt.svg | ||
[download-url]: https://npmjs.org/package/ml-levenberg-marquardt |
46938
95
+ Addedis-any-array@1.0.1(transitive)
- Removedis-any-array@0.1.1(transitive)
Updatedis-any-array@^1.0.0
Updatedml-matrix@^6.7.0