Add bounds and penalty functions to curve fitters
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
This would have to wait for an upgrade to scipy, the current installed version is 15.1. 17 and up support putting bounds on curve fitter parameters. Some functions we can actually have reasonable bounds for. (For example, exp(-x) x cannot be less that -500, or exp will crash.)
For more complex cases we could add constraints with well designed penalty functions.
We should add a method option as well to allow the user to choose between least squares, trf, and dogbox. Or we could try others if the first one fails? Often the failure is in the form of a thrown exception.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating the curve-fitter implementation and confirming the required scipy upgrade; then clarify which parameter bounds, penalty behavior, solver choices, and exception handling are required before defining completion tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100