running-tools

A collection of tools for runners and their coaches
git clone https://git.ashermorgan.net/running-tools/
Log | Files | Refs | README

commit c7f3e4425506f753abc265dd39e937df6298a3a2
parent eccf725222839ab2f209cafd7b2c8768563abf52
Author: ashermorgan <59518073+ashermorgan@users.noreply.github.com>
Date:   Sat, 24 Feb 2024 13:26:33 -0800

Improve Purdy Points for extreme time predictions

Diffstat:
Msrc/utils/races.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils/races.js b/src/utils/races.js @@ -163,7 +163,7 @@ const PurdyPointsModel = { // Refine estimate const method = (x) => this.predictTime(d1, t1, x); - const derivative = (x) => this.derivative(d1, t1, x) / 100; // Derivative on its own is too slow + const derivative = (x) => this.derivative(d1, t1, x) / 500; // Derivative on its own is too slow estimate = NewtonsMethod(estimate, t2, method, derivative, 0.01); // Return estimate