class OfflineChangePointDetectionAlgorithm.Instance
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
(package private) double[] | 
bstrap
Temporary storage for bootstrap testing. 
 | 
(package private) double[] | 
column
Raw data column. 
 | 
(package private) int | 
columnnr
Current column number. 
 | 
(package private) DBIDArrayIter | 
iter
Iterator to reference data positions. 
 | 
(package private) ChangePoints | 
result
Result to output to. 
 | 
(package private) java.util.Random | 
rnd
Random generator. 
 | 
(package private) double[] | 
sums
Cumulative sum. 
 | 
| Constructor and Description | 
|---|
Instance(java.util.Random rnd)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
private double | 
bootstrapConfidence(int begin,
                   int end,
                   double thresh)
Calculates the confidence for the most probable change point of the given
 timer series. 
 | 
private int | 
multipleChangepointsWithConfidence(int begin,
                                  int end)
Performs multiple change point detection for a given time series. 
 | 
ChangePoints | 
run(Relation<DoubleVector> relation)
Run the change point detection algorithm on a data relation. 
 | 
double[] column
double[] sums
double[] bstrap
DBIDArrayIter iter
ChangePoints result
int columnnr
java.util.Random rnd
public Instance(java.util.Random rnd)
rnd - Random generatorpublic ChangePoints run(Relation<DoubleVector> relation)
relation - Data relation.private int multipleChangepointsWithConfidence(int begin,
                                               int end)
begin - Interval beginend - Interval endprivate double bootstrapConfidence(int begin,
                                   int end,
                                   double thresh)
begin - Subset beginend - Subset endthresh - ThresholdCopyright © 2019 ELKI Development Team. License information.