Curve fitting using both brute force and scipy.optimize
Project description
This is a simple script which tries to find the global minima using scipy.optimize.curve_fit as well as a parameter search over the parameter space. It first generates ntol random models, then selects ntol*returnnfactor best models and does scipy.optimize.curve_fit on all of them. It then returns the best model of them all. This script improves scipy.optimize.curve_fit in two ways - No need to give initial values and thus getting global minima instead of local minima. And second, it automatically normalize and standardizes the data.
FUTURE:
- Parallelize
- Use Genetic algorithm instead of brute-force
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for brute_curvefit-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 107253c9cbd82f12f53d07676a93a3f6663ebcf7dd6739895b59bbb647cf28dd |
|
MD5 | 36073189c9255ad36509ad1a2adb422b |
|
BLAKE2b-256 | 8ed86fb097835785ccefea5f9a68dbe29fdcfa8c8c43b25eef640eea2c9c2568 |