IMulticlassClassifierTInput Interface |
Namespace: Accord.MachineLearning
public interface IMulticlassClassifier<in 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>
The IMulticlassClassifierTInput type exposes the following members.
Name | Description | |
---|---|---|
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.) |
Name | Description | |
---|---|---|
Decide(TInput) |
Computes a class-label decision for a given input.
| |
Decide(TInput) |
Computes class-label decisions for each vector in the given input.
| |
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.) | |
ToMultilabel |
Views this instance as a multi-label classifier,
giving access to more advanced methods, such as the prediction
of one-hot vectors.
| |
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.) |