Skip to content

Commit

Permalink
Adaptation to improved accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
JaapvanEkris authored Jan 9, 2024
1 parent aecaa56 commit f6f9775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/engine/utils/FullTSQuadraticSeries.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
dataSeries.push(-7, 171)
testCoefficientA(dataSeries, 3.3333333333333335)
testCoefficientB(dataSeries, -7.999999999999995)
testCoefficientC(dataSeries, -48.999999999999964)
testCoefficientC(dataSeries, -48.333333333333314)
dataSeries.push(-6, 125)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)
Expand Down Expand Up @@ -281,7 +281,7 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
dataSeries.push(-3, 37) // FIRST SPIKE +9
testCoefficientA(dataSeries, 4.215277777777778)
testCoefficientB(dataSeries, 7.321527777777776)
testCoefficientC(dataSeries, 15.671874999999993)
testCoefficientC(dataSeries, 15.70208333333332)
dataSeries.push(-2, 3) // SECOND SPIKE -9
testCoefficientA(dataSeries, 3.9714285714285715)
testCoefficientB(dataSeries, 3.78571428571429) // Coefficient B seems to take a hit anyway
Expand Down

0 comments on commit f6f9775

Please sign in to comment.