Examples of BCR()


Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

 
            @Override
            public void run() {
              ConfusionMatrix matrix = DiffExperiments.classify(wMethod, graphReference,
                  new RPNIBlueFringe(learnerConfig,useOptimizedMerge,null,null).learn(collectionOfTraces.get(UAVAllSeeds).tracesForUAVandFrame.get(UAVAllSeeds).get(frame),true));
              uas_outcome.add(new Pair<Integer,String>(frame,"S"),matrix.BCR());
              uas_S.add(frame,matrix.BCR());
            }
           
          };
          if (threadNumber > 1) outcomes.add(executorService.submit(interactiveRunner));else interactiveRunner.run();
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

            @Override
            public void run() {
              ConfusionMatrix matrix = DiffExperiments.classify(wMethod, graphReference,
                  new RPNIBlueFringe(learnerConfig,useOptimizedMerge,null,null).learn(collectionOfTraces.get(UAVAllSeeds).tracesForUAVandFrame.get(UAVAllSeeds).get(frame),true));
              uas_outcome.add(new Pair<Integer,String>(frame,"S"),matrix.BCR());
              uas_S.add(frame,matrix.BCR());
            }
           
          };
          if (threadNumber > 1) outcomes.add(executorService.submit(interactiveRunner));else interactiveRunner.run();
        }
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

              @Override
              public void run() {
                ConfusionMatrix matrix = DiffExperiments.classify(wMethod, graphReference,
                    new RPNIBlueFringe(learnerConfig,useOptimizedMerge,null,null).learn(collectionOfTraces.get(UAVAllSeeds).tracesForUAVandFrame.get(seed).get(frame),true));
                uas_outcome.add(new Pair<Integer,String>(frame,"A"),matrix.BCR());
                uas_A.add(frame,matrix.BCR());
              }
             
            };
            if (threadNumber > 1) outcomes.add(executorService.submit(interactiveRunner));else interactiveRunner.run();
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

              @Override
              public void run() {
                ConfusionMatrix matrix = DiffExperiments.classify(wMethod, graphReference,
                    new RPNIBlueFringe(learnerConfig,useOptimizedMerge,null,null).learn(collectionOfTraces.get(UAVAllSeeds).tracesForUAVandFrame.get(seed).get(frame),true));
                uas_outcome.add(new Pair<Integer,String>(frame,"A"),matrix.BCR());
                uas_A.add(frame,matrix.BCR());
              }
             
            };
            if (threadNumber > 1) outcomes.add(executorService.submit(interactiveRunner));else interactiveRunner.run();
          }
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

                  @Override
                  public void run() {
                    ConfusionMatrix matrix = DiffExperiments.classify(wMethod, graphReference,
                        new RPNIBlueFringe(learnerConfig,useOptimizedMerge,null,null).learn(collectionOfTraces.get(UAV).tracesForUAVandFrame.get(seed).get(frame),true));
                    uas_outcome.add(new Pair<Integer,String>(frame,"U"),matrix.BCR());
                    uas_U.add(frame,matrix.BCR());
                  }
                 
                };
                if (threadNumber > 1) outcomes.add(executorService.submit(interactiveRunner));else interactiveRunner.run();
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

                  @Override
                  public void run() {
                    ConfusionMatrix matrix = DiffExperiments.classify(wMethod, graphReference,
                        new RPNIBlueFringe(learnerConfig,useOptimizedMerge,null,null).learn(collectionOfTraces.get(UAV).tracesForUAVandFrame.get(seed).get(frame),true));
                    uas_outcome.add(new Pair<Integer,String>(frame,"U"),matrix.BCR());
                    uas_U.add(frame,matrix.BCR());
                  }
                 
                };
                if (threadNumber > 1) outcomes.add(executorService.submit(interactiveRunner));else interactiveRunner.run();
              }
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

          @Override
          public void run() {
            Configuration tmpConf = learnerConfig.copy();tmpConf.setGeneralisationThreshold(arg);
            ConfusionMatrix matrix = DiffExperiments.classify(wMethod, graphReference,new RPNIBlueFringe(tmpConf,useOptimizedMerge,null,null).learn(collectionOfTraces.get(UAVAllSeeds).tracesForUAVandFrame.get(UAVAllSeeds).get(maxFrameNumber),false));
            uas_threshold.add(arg, matrix.BCR());
          }
         
        };
        if (threadNumber > 1)
          outcomes.add(executorService.submit(interactiveRunner));
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

    },mainConfiguration,converter), from, to);
    Assert.assertEquals(1.,matrix.getPrecision(),Configuration.fpAccuracy);
    Assert.assertEquals(1.,matrix.getRecall(),Configuration.fpAccuracy);
    Assert.assertEquals(1.,matrix.fMeasure(),Configuration.fpAccuracy);
    Assert.assertEquals(0.,matrix.getSpecificity(),Configuration.fpAccuracy);
    Assert.assertEquals(0.5,matrix.BCR(),Configuration.fpAccuracy);
  }

  @Test
  public void testClassify2()
  {
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

    },mainConfiguration,converter), from, to);
    Assert.assertEquals(0.,matrix.getPrecision(),Configuration.fpAccuracy);
    Assert.assertEquals(0.,matrix.getRecall(),Configuration.fpAccuracy);
    Assert.assertEquals(0.,matrix.fMeasure(),Configuration.fpAccuracy);
    Assert.assertEquals(1.,matrix.getSpecificity(),Configuration.fpAccuracy);
    Assert.assertEquals(0.5,matrix.BCR(),Configuration.fpAccuracy);
  }

  @Test
  public void testClassify3()
  {
View Full Code Here

Examples of statechum.analysis.learning.PrecisionRecall.ConfusionMatrix.BCR()

    },mainConfiguration,converter), from, to);
    Assert.assertEquals(0.,matrix.getPrecision(),Configuration.fpAccuracy);
    Assert.assertEquals(0.,matrix.getRecall(),Configuration.fpAccuracy);
    Assert.assertEquals(0.,matrix.fMeasure(),Configuration.fpAccuracy);
    Assert.assertEquals(1.,matrix.getSpecificity(),Configuration.fpAccuracy);
    Assert.assertEquals(0.5,matrix.BCR(),Configuration.fpAccuracy);
  }
 
  @Test
  public void testClassify4()
  {
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.