TimeSeriesDirectApi.cs (23)
141Assert.Equal(expectedValues[index++], row.Change[0]);
142Assert.Equal(expectedValues[index++], row.Change[1]);
143Assert.Equal(expectedValues[index++], row.Change[2]);
144Assert.Equal(expectedValues[index++], row.Change[3]);
198Assert.Equal(expectedValues[index++], row.Change[0], 0.0000001); // Alert
199Assert.Equal(expectedValues[index++], row.Change[1], 0.0000001); // Raw score
200Assert.Equal(expectedValues[index++], row.Change[2], 0.0000001); // P-Value score
201Assert.Equal(expectedValues[index++], row.Change[3], 0.0000001); // Martingale score
258Assert.Equal(1.1661833524703979, prediction2.Change[1], 0.00001); // Raw score
261Assert.Equal(0.12216401100158691, prediction2.Change[1], 0.00001); // Raw score
278Assert.Equal(0.12216401100158691, prediction2.Change[1], 0.00001); // Raw score
321Assert.Equal(0, prediction.Change[0], 0.0000001); // Alert
322Assert.Equal(1.1661833524703979, prediction.Change[1], 0.00001); // Raw score
323Assert.Equal(0.5, prediction.Change[2], 0.0000001); // P-Value score
324Assert.Equal(5.1200000000000114E-08, prediction.Change[3], 0.0000001); // Martingale score
332Assert.Equal(0, prediction.Change[0], 0.0000001); // Alert
333Assert.Equal(0.12216401100158691, prediction.Change[1], 0.00001); // Raw score
334Assert.Equal(0.14823824685192111, prediction.Change[2], 0.00001); // P-Value score
335Assert.Equal(1.5292508189989167E-07, prediction.Change[3], 0.0000001); // Martingale score
345Assert.Equal(0, prediction.Change[0], 0.0000001); // Alert
346Assert.Equal(0.12216401100158691, prediction.Change[1], 0.00001); // Raw score
347Assert.Equal(0.14823824685192111, prediction.Change[2], 0.00001); // P-Value score
348Assert.Equal(1.5292508189989167E-07, prediction.Change[3], 0.00001); // Martingale score