ModelSchema modelSchema = new ModelSchema( expectedFields, predictedFields );
ClusteringSpec clusteringSpec = new ClusteringSpec( modelSchema );
clusteringSpec.setDefaultCompareFunction( new AbsoluteDifferenceCompareFunction() );
clusteringSpec.setComparisonMeasure( new SquaredEuclideanMeasure() );
clusteringSpec.addCluster( new Cluster( "1", 5.006d, 3.428d, 1.462d, 0.246d ) );
clusteringSpec.addCluster( new Cluster( "2", 5.9296875d, 2.7578125d, 4.4109375d, 1.4390625d ) );
clusteringSpec.addCluster( new Cluster( "3", 6.85277777777778d, 3.075d, 5.78611111111111d, 2.09722222222222d ) );