use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class ParallelSimplifiedLOFTest method testParallelSimplifiedLOF.
@Test
public void testParallelSimplifiedLOF() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-axis-subspaces-6d.ascii", 1345);
OutlierResult result = //
new ELKIBuilder<ParallelSimplifiedLOF<DoubleVector>>(ParallelSimplifiedLOF.class).with(LOF.Parameterizer.K_ID, 10).build().run(db);
testAUC(db, "Noise", result, 0.8892549019);
testSingleScore(result, 1293, 1.3025894);
}
use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class FeatureBaggingTest method testFeatureBaggingBreadth.
@Test
public void testFeatureBaggingBreadth() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-axis-subspaces-6d.ascii", 1345);
OutlierResult result = //
new ELKIBuilder<>(FeatureBagging.class).with(LOF.Parameterizer.K_ID, //
10).with(FeatureBagging.Parameterizer.NUM_ID, //
10).with(FeatureBagging.Parameterizer.SEED_ID, //
5).with(//
FeatureBagging.Parameterizer.BREADTH_ID).build().run(db);
testAUC(db, "Noise", result, 0.92470588);
testSingleScore(result, 1293, 1.2047264);
}
use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class AggarwalYuEvolutionaryTest method testAggarwalYuEvolutionary.
@Test
public void testAggarwalYuEvolutionary() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-3d-3clusters.ascii", 960);
OutlierResult result = //
new ELKIBuilder<AggarwalYuEvolutionary<DoubleVector>>(AggarwalYuEvolutionary.class).with(AggarwalYuEvolutionary.Parameterizer.K_ID, //
2).with(AggarwalYuEvolutionary.Parameterizer.PHI_ID, //
8).with(AggarwalYuEvolutionary.Parameterizer.M_ID, //
20).with(AggarwalYuEvolutionary.Parameterizer.SEED_ID, //
0).build().run(db);
testAUC(db, "Noise", result, 0.653888888888);
testSingleScore(result, 945, 0.0);
}
use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class SODTest method testSOD.
@Test
public void testSOD() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-axis-subspaces-6d.ascii", 1345);
OutlierResult result = //
new ELKIBuilder<SOD<DoubleVector>>(SOD.class).with(SOD.Parameterizer.KNN_ID, //
25).with(SharedNearestNeighborPreprocessor.Factory.NUMBER_OF_NEIGHBORS_ID, //
19).build().run(db);
testSingleScore(result, 1293, 1.5167500);
testAUC(db, "Noise", result, 0.949131652);
}
use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class AggarwalYuNaiveTest method testAggarwalYuNaive.
@Test
public void testAggarwalYuNaive() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-3d-3clusters.ascii", 960);
OutlierResult result = //
new ELKIBuilder<AggarwalYuNaive<DoubleVector>>(AggarwalYuNaive.class).with(AggarwalYuNaive.Parameterizer.K_ID, //
2).with(AggarwalYuNaive.Parameterizer.PHI_ID, //
8).build().run(db);
testAUC(db, "Noise", result, 0.9007777777777);
testSingleScore(result, 945, -2.862640213982);
}
Aggregations