Adaptation to improved Theil-Sen algorithm
This commit is contained in:
parent
4ccf0b51fc
commit
cfb2d66664
|
|
@ -217,7 +217,7 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
|
|||
dataSeries.push(-1, 3)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 3)
|
||||
dataSeries.push(0, 5)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
|
|
@ -305,7 +305,7 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
|
|||
dataSeries.push(3, 51)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 3)
|
||||
dataSeries.push(4, 85)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
|
|
|
|||
Loading…
Reference in New Issue