Package org.data2semantics.exp.utils

Examples of org.data2semantics.exp.utils.ResultsTable.newRow()


    System.out.println(resTable);
    */


    for (int d : depths) {
      resTable.newRow("ITP BoW, depth="+d);

      //RDFOldKernelExperiment exp = new RDFOldKernelExperiment(new RDFIntersectionTreeEdgeVertexPathWithTextKernel(d, false, inference, false), seeds, svmParms, dataset, instances, labels, blackList);

     
      RDFLinearKernelExperiment exp = new RDFLinearKernelExperiment(new RDFIntersectionTreeEdgeVertexPathWithTextKernel(d, false, inference, false), seeds, linParms, dataset, instances, targets, blackList, evalFuncs);
View Full Code Here


   
    ResultsTable resTable = new ResultsTable();
    resTable.setDigits(2);

    for (int depth : depths) {
      resTable.newRow("WL RDF Bi, depth="+depth);
      for (int it : iterations) {
        RDFOldKernelExperiment exp = new RDFOldKernelExperiment(new RDFWLBiSubTreeKernel(it, depth, inference, true), seeds, svmParms, dataset, instances, labels, blackList);

       
        System.out.println("Running WL RDF Bi: " + depth + " " + it);
View Full Code Here

    System.out.println(resTable);

   
   
    for (int depth : depths) {
      resTable.newRow("WL RDF forward, depth="+depth);
      for (int it : iterations) {
        RDFOldKernelExperiment exp = new RDFOldKernelExperiment(new RDFWLSubTreeKernel(it, depth, inference, true), seeds, svmParms, dataset, instances, labels, blackList);

       
        System.out.println("Running WL RDF Fwd: " + depth + " " + it);
View Full Code Here

      }
    }
    System.out.println(resTable);

    for (int depth : depths) {
      resTable.newRow("WL RDF reverse, depth="+depth);
      for (int it : iterations) {
        RDFOldKernelExperiment exp = new RDFOldKernelExperiment(new RDFWLSubTreeKernel(it, depth, inference, true, true, false), seeds, svmParms, dataset, instances, labels, blackList);

       
        System.out.println("Running WL RDF Rev: " + depth + " " + it);
View Full Code Here

    double[] fractions = {0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1};
 
    ResultsTable resTable = new ResultsTable();

    for (double frac : fractions) {
      resTable.newRow("Fraction: " + frac);

      double[] comp = new double[seeds.length];
      for (int i = 0; i < seeds.length; i++) {
        createGeoDataSet((int)(1000 * frac), frac, seeds[i], "http://data.bgs.ac.uk/ref/Lexicon/hasTheme");   

View Full Code Here

    MoleculeListMultiGraphExperiment<UGraph<String>> exp = new MoleculeListMultiGraphExperiment<UGraph<String>>(kernelsUWL, seeds, svmParms, graphs, labels, evalFuncs);

    System.out.println("Running UWL");
    exp.run();

    resTable.newRow("UWL - baseline");
    for (Result res : exp.getResults()) {
      resTable.addResult(res);
    }

    System.out.println(resTable);
View Full Code Here

    //*/


    MoleculeListMultiGraphExperiment<DTGraph<String,String>> exp2;
    for (int th : hubThs) {
      resTable.newRow("Hub Threshold: " + th);

      for (List<DTNode<String,String>> hubList : hubLists) {
       
        boolean regDegree = false;
        int maxSize = hubList.size();
View Full Code Here

    linParms2.setPs(ps2);
    linParms2.setBias(1);


    for (int d : depths) {     
      resTable.newRow("ITP BoW, depth="+d);

      RDFFeatureVectorKernel kernel = new RDFIntersectionTreeEdgeVertexPathWithTextKernel(d, false, inference, false);

      System.out.println("Running PathWithText kernel: " + d );
View Full Code Here

    }


    for (int d : depths) {     
      for (int it : iterations) {
        resTable.newRow("RDF WL BoW, depth="+d);

        /*
        List<RDFFeatureVectorKernel> kernels = new ArrayList<RDFFeatureVectorKernel>();
        kernels.add(new RDFWLSubTreeKernel(it,d, inference, false));
        kernels.add(new RDFSimpleTextKernel(d, inference, false));
View Full Code Here

   
   
   
    ///*
    for (int i : depths) {     
      resTable.newRow("RDF WL forward");
      for (int it : iterations) {
        RDFWLSubTreeKernel k = new RDFWLSubTreeKernel(it, i, inference, true, forward, false);
       
        //KernelExperiment<RDFFeatureVectorKernel> exp = new RDFLinearKernelExperiment(k, seeds, linParms, dataset, instances, target, blackList, evalFuncs);
        KernelExperiment<RDFGraphKernel> exp = new RDFGraphKernelExperiment(k, seeds, svmParms, dataset, instances, target, blackList, evalFuncs);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.