public interface ConfidenceWeightedBinaryCategorizer extends VectorInputEvaluator<Vectorizable,java.lang.Boolean>, ThresholdBinaryCategorizer<Vectorizable>
LinearBinaryCategorizer
so that it can behave as a binary
categorizer, it but also has methods for accessing the distribution of
binary categorizers that it represents. It is typically represented using a
mean vector and a covariance matrix.Modifier and Type | Method and Description |
---|---|
MultivariateGaussian |
createWeightDistribution()
Creates a multivariate Gaussian distribution that represents the
distribution of weight vectors that the algorithm has learned.
|
BernoulliDistribution |
evaluateAsBernoulli(Vectorizable input)
Returns a Bernoulli distribution over the output of
the distribution of weight vectors times the input, with the
confidence that the categorizer was trained using.
|
UnivariateGaussian |
evaluateAsGaussian(Vectorizable input)
Returns the univariate Gaussian distribution over the output of
the distribution of weight vectors times the input, with the
confidence that the categorizer was trained using.
|
Matrix |
getCovariance()
Gets the covariance matrix of the categorizer.
|
Vector |
getMean()
Gets the mean of the categorizer, which is the weight vector.
|
boolean |
isInitialized()
Determines if this category has been initialized with a mean and
covariance.
|
getInputDimensionality
getThreshold, setThreshold
evaluateAsDouble
evaluateWithDiscriminant
getCategories
clone
UnivariateGaussian evaluateAsGaussian(Vectorizable input)
input
- The input to evaluate.BernoulliDistribution evaluateAsBernoulli(Vectorizable input)
input
- The input to evaluate.MultivariateGaussian createWeightDistribution()
boolean isInitialized()
Vector getMean()
Matrix getCovariance()