Adaptation to improved Theil-Sen algorithm
This commit is contained in:
parent
9621d2fc7b
commit
3412ed8abc
|
|
@ -241,19 +241,19 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
|
|||
dataSeries.push(5, 123)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 3)
|
||||
dataSeries.push(6, 173)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 5)
|
||||
dataSeries.push(7, 227)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 3)
|
||||
dataSeries.push(8, 293)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 5)
|
||||
dataSeries.push(9, 363)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
|
|
@ -321,7 +321,7 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
|
|||
dataSeries.push(7, 227)
|
||||
testCoefficientA(dataSeries, 4)
|
||||
testCoefficientB(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 4)
|
||||
testCoefficientC(dataSeries, 3)
|
||||
dataSeries.push(8, 293)
|
||||
testCoefficientA(dataSeries, 3.9047619047619047)
|
||||
testCoefficientB(dataSeries, 4.761904761904762)
|
||||
|
|
|
|||
Loading…
Reference in New Issue