@Test @Ignore public void testSomeSeries() { ModellingContext context = new ModellingContext(); context.automodelling = true; context.hasseas = true; context.description = new ModelDescription(Data.P, null); context.description.setAirline(true); context.description.setTransformation(DefaultTransformationType.Log); int K = 1000; long t0 = System.currentTimeMillis(); for (int i = 0; i < K; ++i) { context.description.getOutliers().clear(); context.estimation = null; OutliersDetectionModule om = new OutliersDetectionModule(new ApproximateSingleOutlierDetector()); om.setCriticalValue(2.8); om.setDefault(); om.process(context); } long t1 = System.currentTimeMillis(); System.out.println(t1 - t0); t0 = System.currentTimeMillis(); for (int i = 0; i < K; ++i) { context.description.getOutliers().clear(); context.estimation = null; OutliersDetector om2 = new OutliersDetector(); om2.setDefault(); om2.setCriticalValue(2.8); om2.useEML(true); om2.process(context); } System.out.println(""); t1 = System.currentTimeMillis(); System.out.println(t1 - t0); }
@Override protected void clear(boolean all) { super.clear(all); m_el = null; }
ApproximateSingleOutlierDetector extends
        AbstractSingleOutlierDetector<T> { @Override protected void clear(boolean all) { super.clear(all); m_el = null; } }
ApproximateSingleOutlierDetector extends
        AbstractSingleOutlierDetector<T> { @Override protected void clear(boolean all) { super.clear(all); m_el = null; } ApproximateSingleOutlierDetector();  ApproximateSingleOutlierDetector(IRobustStandardDeviationComputer computer); }
ApproximateSingleOutlierDetector extends
        AbstractSingleOutlierDetector<T> { @Override protected void clear(boolean all) { super.clear(all); m_el = null; } ApproximateSingleOutlierDetector();  ApproximateSingleOutlierDetector(IRobustStandardDeviationComputer computer);  }
ApproximateSingleOutlierDetector extends
        AbstractSingleOutlierDetector<T> { @Override protected void clear(boolean all) { super.clear(all); m_el = null; } ApproximateSingleOutlierDetector();  ApproximateSingleOutlierDetector(IRobustStandardDeviationComputer computer);   }