levenberg-marquardt icon indicating copy to clipboard operation
levenberg-marquardt copied to clipboard

Curve fitting method in JavaScript

Results 17 levenberg-marquardt issues
Sort by recently updated
recently updated
newest added

I have manually build it and trying to import it directly in the browser. ``` import {LM} from '/node_modules/ml-levenberg-marquardt/dist/ml-levenberg-marquardt.js' ``` and getting the below error. ``` Uncaught SyntaxError: The requested...

[mljs-curve-fitting](https://github.com/mljs/curve-fitting) was deprecated in 2020 with this as an alternative. However, if I am correct this package, unlike the deprecated curve-fitting only supports 2D data?

Running the included example on RunKit only converges in ~15% of cases and depends strongly on the chosen initial values. ```js const LM = require("ml-levenberg-marquardt"); // function that receives the...

I ran into a problem and had to make a source modification for the convergence criteria. The currently-implemented convergence criterion operates in absolute terms of the squared residuals. Real data...

@lpatiny at the moment the package has a structure to optimize functions f(x) with unlimited parameters to be optimized. On the way to use this package to optimize bi-dimensional data....

This pull request resolves #17 by adding support for regression with known standard deviations of data. This can be done with the optional parameters `xError` and `yError` on the `data`...

Hi all, Thank you for the nice library. It is quite useful and easy to use. I am wondering if there is an easy way for me to implement a...

The parametrizedFunction must accept a constant. I.e. all the other parameters that does not need to be fitted function parametrizedFunction(params, constants) { }

We should implement a globalization part. It could put the method close enough to the optimum before starting with the gradient descent method.

The test suite contains a set of points to fit without indicating where those numbers came from. Plotting them in Excel suggests that the 3rd value (`y = 21.119`) may...