use of de.lmu.ifi.dbs.elki.data.model.SubspaceModel in project elki by elki-project.
the class DiSHTest method testDiSHSubspaceOverlapping.
/**
* Run DiSH with fixed parameters and compare the result to a golden standard.
*/
@Test
public void testDiSHSubspaceOverlapping() {
Database db = makeSimpleDatabase(UNITTEST + "subspace-overlapping-4-5d.ascii", 1100);
Clustering<SubspaceModel> result = //
new ELKIBuilder<DiSH<DoubleVector>>(DiSH.class).with(DiSH.Parameterizer.EPSILON_ID, //
0.1).with(DiSH.Parameterizer.MU_ID, //
40).with(DiSHPreferenceVectorIndex.Factory.STRATEGY_ID, //
DiSHPreferenceVectorIndex.Strategy.APRIORI).build().run(db);
testFMeasure(db, result, 0.653797548);
testClusterSizes(result, new int[] { 61, 84, 148, 188, 289, 330 });
}
Aggregations