ISupportVectorMachineTInput Interface |
Namespace: Accord.MachineLearning.VectorMachines
public interface ISupportVectorMachine<TInput> : IBinaryLikelihoodClassifier<TInput>, IBinaryScoreClassifier<TInput>, IBinaryClassifier<TInput>, IMulticlassClassifier<TInput>, IMultilabelClassifier<TInput>, IMultilabelClassifier<TInput, int[]>, IClassifier<TInput, int[]>, IClassifier, ITransform<TInput, int[]>, ICovariantTransform<TInput, int[]>, ITransform, IMultilabelClassifier<TInput, bool[]>, IClassifier<TInput, bool[]>, ITransform<TInput, bool[]>, ICovariantTransform<TInput, bool[]>, IMultilabelClassifier<TInput, double[]>, IClassifier<TInput, double[]>, ITransform<TInput, double[]>, ICovariantTransform<TInput, double[]>, IMulticlassClassifier<TInput, int>, IClassifier<TInput, int>, ITransform<TInput, int>, ICovariantTransform<TInput, int>, IMulticlassClassifier<TInput, double>, IClassifier<TInput, double>, ITransform<TInput, double>, ICovariantTransform<TInput, double>, IClassifier<TInput, bool>, ITransform<TInput, bool>, ICovariantTransform<TInput, bool>, IMulticlassOutScoreClassifier<TInput, bool>, IMulticlassScoreClassifierBase<TInput, bool>, IMultilabelOutScoreClassifier<TInput, bool>, IMultilabelScoreClassifierBase<TInput, bool>, IMulticlassScoreClassifier<TInput>, IMulticlassScoreClassifier<TInput, int>, IMulticlassOutScoreClassifier<TInput, int>, IMulticlassScoreClassifierBase<TInput, int>, IMultilabelOutScoreClassifier<TInput, int>, IMultilabelScoreClassifierBase<TInput, int>, IMulticlassRefScoreClassifier<TInput, int[]>, IMultilabelRefScoreClassifier<TInput, int[]>, IMultilabelScoreClassifierBase<TInput, int[]>, IMulticlassScoreClassifier<TInput, double>, IMulticlassOutScoreClassifier<TInput, double>, IMulticlassScoreClassifierBase<TInput, double>, IMultilabelOutScoreClassifier<TInput, double>, IMultilabelScoreClassifierBase<TInput, double>, IMulticlassRefScoreClassifier<TInput, double[]>, IMultilabelRefScoreClassifier<TInput, double[]>, IMultilabelScoreClassifierBase<TInput, double[]>, IMulticlassRefScoreClassifier<TInput, bool[]>, IMultilabelRefScoreClassifier<TInput, bool[]>, IMultilabelScoreClassifierBase<TInput, bool[]>, IMultilabelScoreClassifier<TInput>, IMultilabelScoreClassifier<TInput, int>, IMultilabelScoreClassifier<TInput, double>, IMulticlassOutLikelihoodClassifier<TInput, bool>, IMultilabelOutLikelihoodClassifier<TInput, bool>, IMultilabelLikelihoodClassifierBase<TInput, bool>, IMulticlassLikelihoodClassifierBase<TInput, bool>, IMulticlassLikelihoodClassifier<TInput>, IMulticlassLikelihoodClassifier<TInput, int>, IMulticlassOutLikelihoodClassifier<TInput, int>, IMultilabelOutLikelihoodClassifier<TInput, int>, IMultilabelLikelihoodClassifierBase<TInput, int>, IMulticlassLikelihoodClassifierBase<TInput, int>, IMulticlassRefLikelihoodClassifier<TInput, int[]>, IMultilabelRefLikelihoodClassifier<TInput, int[]>, IMultilabelLikelihoodClassifierBase<TInput, int[]>, IMulticlassLikelihoodClassifier<TInput, double>, IMulticlassOutLikelihoodClassifier<TInput, double>, IMultilabelOutLikelihoodClassifier<TInput, double>, IMultilabelLikelihoodClassifierBase<TInput, double>, IMulticlassLikelihoodClassifierBase<TInput, double>, IMulticlassRefLikelihoodClassifier<TInput, double[]>, IMultilabelRefLikelihoodClassifier<TInput, double[]>, IMultilabelLikelihoodClassifierBase<TInput, double[]>, IMulticlassRefLikelihoodClassifier<TInput, bool[]>, IMultilabelRefLikelihoodClassifier<TInput, bool[]>, IMultilabelLikelihoodClassifierBase<TInput, bool[]>, IMultilabelLikelihoodClassifier<TInput>, IMultilabelLikelihoodClassifier<TInput, int>, IMultilabelLikelihoodClassifier<TInput, double>
The ISupportVectorMachineTInput type exposes the following members.
Name | Description | |
---|---|---|
IsProbabilistic |
Gets whether this machine has been calibrated to
produce probabilistic outputs (through the Probability
method).
| |
Kernel |
Gets or sets the kernel used by this machine.
| |
NumberOfClasses |
Gets or sets the number of classes expected and recognized by the classifier.
(Inherited from IClassifier.) | |
NumberOfInputs |
Gets or sets the number of inputs accepted by the model.
(Inherited from ITransform.) | |
NumberOfOutputs |
Gets or sets the number of outputs generated by the model.
(Inherited from ITransform.) | |
SupportVectors |
Gets or sets the collection of support vectors used by this machine.
| |
Threshold |
Gets or sets the threshold (bias) term for this machine.
| |
Weights |
Gets or sets the collection of weights used by this machine.
|
Name | Description | |
---|---|---|
Compress |
If this machine has a linear kernel, compresses all
support vectors into a single parameter vector.
| |
Decide(TInput) |
Computes a class-label decision for a given input.
(Inherited from IMulticlassClassifierTInput.) | |
Decide(TInput) |
Computes class-label decisions for each vector in the given input.
(Inherited from IMulticlassClassifierTInput.) | |
Decide(TInput, TClasses) |
Computes class-label decisions for each vector in the given input.
(Inherited from IClassifierTInput, TClasses.) | |
Decide(TInput, TClasses) |
Computes class-label decisions for the given input.
(Inherited from IMultilabelClassifierTInput, TClasses.) | |
LogLikelihood(TInput) |
Predicts a class label vector for the given input vector, returning the
log-likelihood that the input vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierTInput.) | |
LogLikelihood(TInput) |
Predicts a class label vector for the given input vectors, returning the
log-likelihood that the input vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierTInput.) | |
LogLikelihood(TInput, Double) |
Predicts a class label vector for the given input vectors, returning the
log-likelihood that the input vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierTInput.) | |
LogLikelihood(TInput, TClasses) |
Predicts a class label for each input vector, returning the
log-likelihood that each vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierBaseTInput, TClasses.) | |
LogLikelihood(TInput, TClasses) |
Predicts a class label vector for the given input vector, returning the
log-likelihood that the input vector belongs to its predicted class.
(Inherited from IMulticlassOutLikelihoodClassifierTInput, TClasses.) | |
LogLikelihood(TInput, Int32) |
Computes the log-likelihood that the given input vector
belongs to the specified classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihood(TInput, Int32) |
Computes the log-likelihood that the given input vectors
belongs to each class specified in classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihood(TInput, Int32) |
Computes the log-likelihood that the given input vectors
belongs to each class specified in classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihood(TInput, TClasses, Double) |
Predicts a class label for each input vector, returning the
log-likelihood that each vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierBaseTInput, TClasses.) | |
LogLikelihood(TInput, Int32, Double) |
Computes the log-likelihood that the given input vectors
belongs to each class specified in classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihood(TInput, Int32, Double) |
Computes the log-likelihood that the given input vectors
belongs to each class specified in classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihoods(TInput) |
Computes the log-likelihood that the given input
vector belongs to each of the possible classes.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihoods(TInput) |
Computes the log-likelihoods that the given input
vectors belongs to each of the possible classes.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihoods(TInput, Double) |
Computes the log-likelihood that the given input
vector belongs to each of the possible classes.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihoods(TInput, Double) |
Computes the log-likelihoods that the given input
vectors belongs to each of the possible classes.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
LogLikelihoods(TInput, TClasses) |
Predicts a class label vector for each input vector, returning the
log-likelihoods of the input vector belonging to each possible class.
(Inherited from IMultilabelLikelihoodClassifierBaseTInput, TClasses.) | |
LogLikelihoods(TInput, TClasses) |
Predicts a class label vector for the given input vector, returning the
log-likelihoods of the input vector belonging to each possible class.
(Inherited from IMultilabelOutLikelihoodClassifierTInput, TClasses.) | |
LogLikelihoods(TInput, TClasses, Double) |
Predicts a class label vector for each input vector, returning the
log-likelihoods of the input vector belonging to each possible class.
(Inherited from IMultilabelLikelihoodClassifierBaseTInput, TClasses.) | |
LogLikelihoods(TInput, TClasses, Double) |
Predicts a class label vector for the given input vector, returning the
log-likelihoods of the input vector belonging to each possible class.
(Inherited from IMultilabelOutLikelihoodClassifierTInput, TClasses.) | |
Probabilities(TInput) |
Computes the probabilities that the given input
vector belongs to each of the possible classes.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Probabilities(TInput) |
Computes the probabilities that the given input
vectors belongs to each of the possible classes.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Probabilities(TInput, Double) |
Computes the probabilities that the given input
vector belongs to each of the possible classes.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Probabilities(TInput, Double) |
Computes the probabilities that the given input
vectors belongs to each of the possible classes.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Probabilities(TInput, TClasses) |
Predicts a class label vector for each input vector, returning the
probabilities of the input vector belonging to each possible class.
(Inherited from IMultilabelLikelihoodClassifierBaseTInput, TClasses.) | |
Probabilities(TInput, TClasses) |
Predicts a class label vector for the given input vector, returning the
probabilities of the input vector belonging to each possible class.
(Inherited from IMultilabelOutLikelihoodClassifierTInput, TClasses.) | |
Probabilities(TInput, TClasses, Double) |
Predicts a class label vector for each input vector, returning the
probabilities of the input vector belonging to each possible class.
(Inherited from IMultilabelLikelihoodClassifierBaseTInput, TClasses.) | |
Probabilities(TInput, TClasses, Double) |
Predicts a class label vector for the given input vector, returning the
probabilities of the input vector belonging to each possible class.
(Inherited from IMultilabelOutLikelihoodClassifierTInput, TClasses.) | |
Probability(TInput) |
Predicts a class label for the given input vector, returning the
probability that the input vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierTInput.) | |
Probability(TInput) |
Predicts a class label for the given input vectors, returning the
probability that the input vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierTInput.) | |
Probability(TInput, Double) |
Predicts a class label for the given input vectors, returning the
probability that the input vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierTInput.) | |
Probability(TInput, TClasses) |
Predicts a class label for each input vector, returning the
probability that each vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierBaseTInput, TClasses.) | |
Probability(TInput, TClasses) |
Predicts a class label for the given input vector, returning the
probability that the input vector belongs to its predicted class.
(Inherited from IMulticlassOutLikelihoodClassifierTInput, TClasses.) | |
Probability(TInput, Int32) |
Computes the probability that the given input vector
belongs to the specified classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Probability(TInput, Int32) |
Computes the probability that the given input vectors
belongs to each class specified in classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Probability(TInput, Int32) |
Computes the probability that the given input vectors
belongs to each class specified in classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Probability(TInput, TClasses, Double) |
Predicts a class label for each input vector, returning the
probability that each vector belongs to its predicted class.
(Inherited from IMulticlassLikelihoodClassifierBaseTInput, TClasses.) | |
Probability(TInput, Int32, Double) |
Computes the probability that the given input vectors
belongs to each class specified in classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Probability(TInput, Int32, Double) |
Computes the probability that the given input vectors
belongs to each class specified in classIndex.
(Inherited from IMultilabelLikelihoodClassifierTInput.) | |
Score(TInput) |
Computes a numerical score measuring the association between
the given input vector and its most strongly
associated class (as predicted by the classifier).
(Inherited from IMulticlassScoreClassifierTInput.) | |
Score(TInput) |
Computes a numerical score measuring the association between
each of the given input vectors and their
respective most strongly associated classes.
(Inherited from IMulticlassScoreClassifierTInput.) | |
Score(TInput, TClasses) |
Predicts a class label for the input vector, returning a
numerical score measuring the strength of association of the
input vector to its most strongly related class.
(Inherited from IMulticlassOutScoreClassifierTInput, TClasses.) | |
Score(TInput, Double) |
Computes a numerical score measuring the association between
each of the given input vectors and their
respective most strongly associated classes.
(Inherited from IMulticlassScoreClassifierTInput.) | |
Score(TInput, TClasses) |
Predicts a class label for each input vector, returning a
numerical score measuring the strength of association of the
input vector to the most strongly related class.
(Inherited from IMulticlassScoreClassifierBaseTInput, TClasses.) | |
Score(TInput, Int32) |
Computes a numerical score measuring the association between
the given input vector and a given
classIndex.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Score(TInput, Int32) |
Computes a numerical score measuring the association between
each of the given input vectors and the
given classIndex.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Score(TInput, Int32) |
Computes a numerical score measuring the association between
each of the given input vectors and the
given classIndex.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Score(TInput, TClasses, Double) |
Predicts a class label for each input vector, returning a
numerical score measuring the strength of association of the
input vector to the most strongly related class.
(Inherited from IMulticlassScoreClassifierBaseTInput, TClasses.) | |
Score(TInput, Int32, Double) |
Computes a numerical score measuring the association between
each of the given input vectors and the
given classIndex.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Score(TInput, Int32, Double) |
Computes a numerical score measuring the association between
each of the given input vectors and the
given classIndex.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Scores(TInput) |
Computes a numerical score measuring the association between
the given input vector and each class.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Scores(TInput) |
Computes a numerical score measuring the association between
each of the given input vectors and each
possible class.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Scores(TInput, TClasses) |
Predicts a class label vector for the given input vector, returning a
numerical score measuring the strength of association of the input vector
to each of the possible classes.
(Inherited from IMultilabelOutScoreClassifierTInput, TClasses.) | |
Scores(TInput, Double) |
Computes a numerical score measuring the association between
the given input vector and each class.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Scores(TInput, Double) |
Computes a numerical score measuring the association between
each of the given input vectors and each
possible class.
(Inherited from IMultilabelScoreClassifierTInput.) | |
Scores(TInput, TClasses) |
Predicts a class label vector for each input vector, returning a
numerical score measuring the strength of association of the input vector
to each of the possible classes.
(Inherited from IMultilabelScoreClassifierBaseTInput, TClasses.) | |
Scores(TInput, TClasses, Double) |
Predicts a class label vector for the given input vector, returning a
numerical score measuring the strength of association of the input vector
to each of the possible classes.
(Inherited from IMultilabelOutScoreClassifierTInput, TClasses.) | |
Scores(TInput, TClasses, Double) |
Predicts a class label vector for each input vector, returning a
numerical score measuring the strength of association of the input vector
to each of the possible classes.
(Inherited from IMultilabelScoreClassifierBaseTInput, TClasses.) | |
ToMulticlass |
Views this instance as a multi-class generative classifier,
giving access to more advanced methods, such as the prediction
of integer labels.
(Inherited from IBinaryLikelihoodClassifierTInput.) | |
ToMultilabel |
Views this instance as a multi-label classifier,
giving access to more advanced methods, such as the prediction
of one-hot vectors.
(Inherited from IMulticlassClassifierTInput.) | |
Transform(TInput) |
Applies the transformation to an input, producing an associated output.
(Inherited from ICovariantTransformTInput, TOutput.) | |
Transform(TInput) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
(Inherited from ICovariantTransformTInput, TOutput.) | |
Transform(TInput, TOutput) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
(Inherited from ITransformTInput, TOutput.) |