//*/
///*
for (int i : depths) {
resTable.newRow("RDF IST, " + i);
RDFIntersectionSubTreeKernel k = new RDFIntersectionSubTreeKernel(i, 1, inference, true);
KernelExperiment<RDFGraphKernel> exp = new RDFGraphKernelExperiment(k, seeds, svmParms, dataset, instances, target, blackList, evalFuncs);
System.out.println("Running RDF IST: " + i);
exp.run();
for (Result res : exp.getResults()) {
resTable.addResult(res);
}
}
System.out.println(resTable);
//*/
///*
for (int i : depths) {
resTable.newRow("RDF IST TYPE, " + i);
RDFIntersectionSubTreeSlashBurnKernel k = new RDFIntersectionSubTreeSlashBurnKernel(i, 1, inference, true);
k.setHubMap(GraphUtils.createRDFTypeHubMap(dataset, inference));
KernelExperiment<RDFGraphKernel> exp = new RDFGraphKernelExperiment(k, seeds, svmParms, dataset, instances, target, blackList, evalFuncs);
System.out.println("Running RDF IST TYPE: " + i);
exp.run();
for (Result res : exp.getResults()) {
resTable.addResult(res);
}
}
System.out.println(resTable);
//*/
///*
for (int h : hf) {
for (int i : depths) {
resTable.newRow("RDF IST Regular Degree, " + h + ", " + i);
RDFIntersectionSubTreeSlashBurnKernel k = new RDFIntersectionSubTreeSlashBurnKernel(i, 1, inference, true);
k.setHubMap(GraphUtils.createNonSigHubMap(nonSigDegreeHubs, h));
KernelExperiment<RDFGraphKernel> exp = new RDFGraphKernelExperiment(k, seeds, svmParms, dataset, instances, target, blackList, evalFuncs);
System.out.println("Running RDF IST Regular Degree: " + i + " " + h);
exp.run();
for (Result res : exp.getResults()) {
resTable.addResult(res);
}
}
}
System.out.println(resTable);
//*/
///*
for (int h : hf) {
for (int i : depths) {
resTable.newRow("RDF IST Signature Degree (SB), " + h + ", " + i);
RDFIntersectionSubTreeSlashBurnKernel k = new RDFIntersectionSubTreeSlashBurnKernel(i, 1, inference, true);
k.setHubMap(GraphUtils.createHubMap(hubs, h));
KernelExperiment<RDFGraphKernel> exp = new RDFGraphKernelExperiment(k, seeds, svmParms, dataset, instances, target, blackList, evalFuncs);
System.out.println("Running RDF IST Signature Degree (SB): " + i + " " + h);
exp.run();