Package org.data2semantics.exp.molecules

Examples of org.data2semantics.exp.molecules.RDFDTGraphIntersectionSubTreeKernel


        // IST
        //-------
       
        // 1
        List<RDFDTGraphIntersectionSubTreeKernel> kernelsIST = new ArrayList<RDFDTGraphIntersectionSubTreeKernel>();
        kernelsIST.add(new RDFDTGraphIntersectionSubTreeKernel(depth,1,true));

        expIST = new MoleculeListSingleGraphExperiment(kernelsIST, seeds, svmParms, newGs.get(0), newIN.get(0), target, evalFuncs);

        System.out.println("IST running, remove hubs, th: " + th);
        expIST.run();

        for (Result res : expIST.getResults()) {
          resTableIST.addResult(res);
        }

        // 2
        kernelsIST = new ArrayList<RDFDTGraphIntersectionSubTreeKernel>();
        kernelsIST.add(new RDFDTGraphIntersectionSubTreeKernel(depth,1,true));
 
        expIST = new MoleculeListSingleGraphExperiment(kernelsIST, seeds, svmParms, newGs.get(1), newIN.get(1), target, evalFuncs);

        System.out.println("IST running, relabel hubs, th: " + th);
        expIST.run();

        for (Result res : expIST.getResults()) {
          resTableIST.addResult(res);
        }

        // 3
        kernelsIST = new ArrayList<RDFDTGraphIntersectionSubTreeKernel>();
        kernelsIST.add(new RDFDTGraphIntersectionSubTreeKernel(depth,1,true));
       
        expIST = new MoleculeListSingleGraphExperiment(kernelsIST, seeds, svmParms, newGs.get(2), newIN.get(2), target, evalFuncs);

        System.out.println("IST running, relabel+remove hubs, th: " + th);
        expIST.run();
View Full Code Here

TOP

Related Classes of org.data2semantics.exp.molecules.RDFDTGraphIntersectionSubTreeKernel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.