use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class KDEOSTest method testKDEOS.
@Test
public void testKDEOS() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-axis-subspaces-6d.ascii", 1345);
OutlierResult result = //
new ELKIBuilder<KDEOS<DoubleVector>>(KDEOS.class).with(KDEOS.Parameterizer.KERNEL_ID, //
EpanechnikovKernelDensityFunction.class).with(KDEOS.Parameterizer.KMIN_ID, //
5).with(KDEOS.Parameterizer.KMAX_ID, //
20).with(KDEOS.Parameterizer.KERNEL_SCALE_ID, //
1.).with(KDEOS.Parameterizer.IDIM_ID, //
-1).build().run(db);
testAUC(db, "Noise", result, 0.804918767);
testSingleScore(result, 1293, 0.88750800246);
}
use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class LDOFTest method testLDOF.
@Test
public void testLDOF() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-fire.ascii", 1025);
OutlierResult result = //
new ELKIBuilder<LDOF<DoubleVector>>(LDOF.class).with(LDOF.Parameterizer.K_ID, 24).build().run(db);
testAUC(db, "Noise", result, 0.9637948717948718);
testSingleScore(result, 1025, 0.8976268846182947);
}
use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class SimplifiedLOFTest method testSimplifiedLOF.
@Test
public void testSimplifiedLOF() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-axis-subspaces-6d.ascii", 1345);
OutlierResult result = //
new ELKIBuilder<SimplifiedLOF<DoubleVector>>(SimplifiedLOF.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 INFLOTest method testINFLO.
@Test
public void testINFLO() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-3d-3clusters.ascii", 960);
OutlierResult result = //
new ELKIBuilder<INFLO<DoubleVector>>(INFLO.class).with(INFLO.Parameterizer.K_ID, 30).build().run(db);
testAUC(db, "Noise", result, 0.9606111);
testSingleScore(result, 945, 1.3285178);
}
use of de.lmu.ifi.dbs.elki.result.outlier.OutlierResult in project elki by elki-project.
the class LDFTest method testLDF.
@Test
public void testLDF() {
Database db = makeSimpleDatabase(UNITTEST + "outlier-axis-subspaces-6d.ascii", 1345);
OutlierResult result = //
new ELKIBuilder<LDF<DoubleVector>>(LDF.class).with(LDF.Parameterizer.K_ID, //
10).with(LDF.Parameterizer.H_ID, //
1).build().run(db);
testSingleScore(result, 1293, 3.158819);
testAUC(db, "Noise", result, 0.9127619);
}
Aggregations