Error measures for DR chords: Difference between revisions

Inthar (talk | contribs)
No edit summary
Inthar (talk | contribs)
No edit summary
Line 149: Line 149:
              
              
     return GridSolution(best_x, best_error)
     return GridSolution(best_x, best_error)
<syntaxhighlight>
</syntaxhighlight>


=== BFGS-B (one related delta set, arbitrary free deltas) ===
=== BFGS-B (one related delta set, arbitrary free deltas) ===
Line 298: Line 298:
     result.fx = f(result.x)
     result.fx = f(result.x)
     return result
     return result
<syntaxhighlight>
</syntaxhighlight>


=== L-BFGS-B (one related delta set, arbitrary free deltas) ===
=== L-BFGS-B (one related delta set, arbitrary free deltas) ===
Line 410: Line 410:
      
      
     return LBFGSSolution(x, fx, max_iterations, False)
     return LBFGSSolution(x, fx, max_iterations, False)
<syntaxhighlight>
</syntaxhighlight>


== External links ==
== External links ==
* [https://inthar-raven.github.io/delta/ Inthar's DR chord explorer (includes least-squares error calculation in both domains and multiple error models)]
* [https://inthar-raven.github.io/delta/ Inthar's DR chord explorer (includes least-squares error calculation in both domains and multiple error models)]
[[Category:Math]]
[[Category:Math]]