Class ClassProbabilityImpl

  • All Implemented Interfaces:
    IClassProbability

    public class ClassProbabilityImpl
    extends Object
    implements IClassProbability
    Classification output and probability estimate.
    Author:
    elian carsenat, NamSor SAS
    • Constructor Detail

      • ClassProbabilityImpl

        public ClassProbabilityImpl​(String category,
                                    double probability)
        Create an immutable classification output
        Parameters:
        category - The classification category
        probability - The probability (likelyHood/sum(likelyhoods))