コード例 #1
0
            public void computeData(EvaluatorsROCGraph graph)
            {
                double totalGenuine  = stats.GenuinesCount;
                double totalImpostor = stats.ImpostorsCount;

                for (int i = 0; i < STEP; i++)
                {
                    stats.Thresh       = threshes[i];
                    TrueAcceptance[i]  = 1.0 - stats.FAR;
                    FalseAcceptance[i] = stats.FRR;
                }
                graph.reportTick();
            }
コード例 #2
0
 public void computeData(EvaluatorsROCGraph graph)
 {
     double totalGenuine = stats.GenuinesCount;
     double totalImpostor = stats.ImpostorsCount;
     for (int i = 0; i < STEP; i++) {
         stats.Thresh = threshes[i];
         TrueAcceptance[i]  = 1.0 - stats.FAR;
         FalseAcceptance[i] = stats.FRR;
     }
     graph.reportTick();
 }