public interface ISoftmaxClassifier extends IClassifier
Generic softmax classifier.
Modifier and Type | Method and Description |
---|---|
double[] |
rawOutputs(double[] inputs)
Obtain the raw output of the classifier for each class
|
double[][] |
rawOutputs(double[][] inputs)
Obtain the raw outputs of classes of a set of observations,
through their inputs values
|
double[] |
softmaxProbabilities(double[] inputs)
Obtain the normalized softmax probabilities of classes of
one observation
|
double[][] |
softmaxProbabilities(double[][] inputs)
Obtain the normalized softmax probabilities of classes
of a set of observations, through their inputs values
|
classify, classify
double[] softmaxProbabilities(double[] inputs)
Obtain the normalized softmax probabilities of classes of one observation
inputs
- Double array with all inputs of the observationdouble[][] softmaxProbabilities(double[][] inputs)
Obtain the normalized softmax probabilities of classes of a set of observations, through their inputs values
inputs
- Double matrix with all inputs of all observationsdouble[] rawOutputs(double[] inputs)
Obtain the raw output of the classifier for each class
inputs
- Double array with all inputs of the observationdouble[][] rawOutputs(double[][] inputs)
Obtain the raw outputs of classes of a set of observations, through their inputs values
inputs
- Double matrix with all inputs of all observations