Class BooleanCategory

  • All Implemented Interfaces:
    Category

    public class BooleanCategory
    extends Object
    implements Category
    A category for one-class classifiers.
    Author:
    Matthias Thimm
    • Constructor Detail

      • BooleanCategory

        public BooleanCategory​(boolean cat)
        Creates a new category with the given value.
        Parameters:
        cat - some boolean
    • Method Detail

      • asDouble

        public double asDouble()
        Description copied from interface: Category
        Returns a double representation of this category.
        Specified by:
        asDouble in interface Category
        Returns:
        a double representation of this category.