IBinaryClassifier Interface |
Namespace: Accord.MachineLearning
public interface IBinaryClassifier : IBinaryClassifier<double[]>, IMulticlassClassifier<double[]>, IMultilabelClassifier<double[]>, IMultilabelClassifier<double[], int[]>, IClassifier<double[], int[]>, IClassifier, ITransform<double[], int[]>, ICovariantTransform<double[], int[]>, ITransform, IMultilabelClassifier<double[], bool[]>, IClassifier<double[], bool[]>, ITransform<double[], bool[]>, ICovariantTransform<double[], bool[]>, IMultilabelClassifier<double[], double[]>, IClassifier<double[], double[]>, ITransform<double[], double[]>, ICovariantTransform<double[], double[]>, IMulticlassClassifier<double[], int>, IClassifier<double[], int>, ITransform<double[], int>, ICovariantTransform<double[], int>, IMulticlassClassifier<double[], double>, IClassifier<double[], double>, ITransform<double[], double>, ICovariantTransform<double[], double>, IClassifier<double[], bool>, ITransform<double[], bool>, ICovariantTransform<double[], bool>, IBinaryClassifier<float[]>, IMulticlassClassifier<float[]>, IMultilabelClassifier<float[]>, IMultilabelClassifier<float[], int[]>, IClassifier<float[], int[]>, ITransform<float[], int[]>, ICovariantTransform<float[], int[]>, IMultilabelClassifier<float[], bool[]>, IClassifier<float[], bool[]>, ITransform<float[], bool[]>, ICovariantTransform<float[], bool[]>, IMultilabelClassifier<float[], double[]>, IClassifier<float[], double[]>, ITransform<float[], double[]>, ICovariantTransform<float[], double[]>, IMulticlassClassifier<float[], int>, IClassifier<float[], int>, ITransform<float[], int>, ICovariantTransform<float[], int>, IMulticlassClassifier<float[], double>, IClassifier<float[], double>, ITransform<float[], double>, ICovariantTransform<float[], double>, IClassifier<float[], bool>, ITransform<float[], bool>, ICovariantTransform<float[], bool>, IBinaryClassifier<int[]>, IMulticlassClassifier<int[]>, IMultilabelClassifier<int[]>, IMultilabelClassifier<int[], int[]>, IClassifier<int[], int[]>, ITransform<int[], int[]>, ICovariantTransform<int[], int[]>, IMultilabelClassifier<int[], bool[]>, IClassifier<int[], bool[]>, ITransform<int[], bool[]>, ICovariantTransform<int[], bool[]>, IMultilabelClassifier<int[], double[]>, IClassifier<int[], double[]>, ITransform<int[], double[]>, ICovariantTransform<int[], double[]>, IMulticlassClassifier<int[], int>, IClassifier<int[], int>, ITransform<int[], int>, ICovariantTransform<int[], int>, IMulticlassClassifier<int[], double>, IClassifier<int[], double>, ITransform<int[], double>, ICovariantTransform<int[], double>, IClassifier<int[], bool>, ITransform<int[], bool>, ICovariantTransform<int[], bool>
The IBinaryClassifier 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.
(Inherited from IBinaryClassifierTInput.) | |
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.) |