llnl / llnl/Curvallis

Add bounds and penalty functions to curve fitters

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.