Class Classification

    • Method Detail

      • getFrequency

        public double getFrequency​(Object classification)
        Get the frequency of the given category.
        Returns:
        per cent of test cases with this classification.
      • getCategories

        public List<ObjectgetCategories()
        Get a list of known categories. Categories are sorted in descending frequency.
      • doClassify

        public void doClassify​(boolean predicate,
                               Object classification)
        Increment the classification counter for the given classification.
        Parameters:
        predicate - increment only if the predicate is true.
        classification - classification key
      • call

        public void call()
        Count the number of calls.