Example #1
0
 private static double Evaluate(ISet <int> current, bool[] labels, double[] values)
 {
     // Here the actual testing happend we want the lowest p value between the values set and its competitors
     return(1 - TestROCMannWhitneyWilcoxon.TestStatic(labels.Select(current), values.Select(current)));
 }
        public double Compute(ISet <int> selection)
        {
            IList <int> selection_list = ToolsCollection.ConvertToSortedList(selection);

            return(TestROCMannWhitneyWilcoxon.TestStatic(labels.Select(selection_list), values.Select(selection_list)));
        }