IBinaryClassifierTInput Interface |
Namespace: Accord.MachineLearning
public interface IBinaryClassifier<in 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>
The IBinaryClassifierTInput 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.
(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.) | |
ToMulticlass |
Views this instance as a multi-class classifier,
giving access to more advanced methods, such as the prediction
of integer labels.
| |
ToMulticlassT |
Views this instance as a multi-class classifier,
giving access to more advanced methods, such as the prediction
of integer labels.
| |
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.) |