Package statechum.analysis.learning.experiments.PairSelection.PairQualityLearner

Examples of statechum.analysis.learning.experiments.PairSelection.PairQualityLearner.ScoresForGraph


        }
       

        {// For Markov, we do not need to learn anything at all - our Markov matrix contains enough information to classify paths and hence compare it to the reference graph.
          ConfusionMatrix mat = DiffExperiments.classifyAgainstMarkov(testSet, referenceGraph, m);
          dataSample.markovLearner = new ScoresForGraph();     
          System.out.println("Markov");
          dataSample.markovLearner.differenceBCR = new DifferenceToReferenceLanguageBCR(mat);
          System.out.println(dataSample.markovLearner.differenceBCR.getValue());
        }
       
View Full Code Here


    }

    // Delegates to a specific estimator
    ScoresForGraph estimateDifference(LearnerGraph reference, LearnerGraph actual,Collection<List<Label>> evaluationTestSet)
    {
      ScoresForGraph outcome = new ScoresForGraph();
      outcome.differenceStructural=DifferenceToReferenceDiff.estimationOfDifferenceDiffMeasure(reference, actual, config, 1);
      outcome.differenceBCR=DifferenceToReferenceLanguageBCR.estimationOfDifference(reference, actual,evaluationTestSet);
      System.out.println("Structure= "+outcome.differenceStructural.getValue());
      System.out.println("BCR= "+outcome.differenceBCR.getValue());
      System.out.println("---------------------------------------------------");
View Full Code Here

TOP

Related Classes of statechum.analysis.learning.experiments.PairSelection.PairQualityLearner.ScoresForGraph

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.