Click or drag to resize
Accord.NET (logo)

IMulticlassClassifier Interface

Common interface for multi-class models. Classification models learn how to produce a class-label y from an input vector x.

Namespace:  Accord.MachineLearning
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public interface IMulticlassClassifier : 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>, 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>, 
	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>
Request Example View Source

The IMulticlassClassifier type exposes the following members.

Properties
  NameDescription
Public propertyNumberOfClasses
Gets or sets the number of classes expected and recognized by the classifier.
(Inherited from IClassifier.)
Public propertyNumberOfInputs
Gets or sets the number of inputs accepted by the model.
(Inherited from ITransform.)
Public propertyNumberOfOutputs
Gets or sets the number of outputs generated by the model.
(Inherited from ITransform.)
Top
Methods
  NameDescription
Public methodDecide(TInput)
Computes a class-label decision for a given input.
(Inherited from IMulticlassClassifierTInput.)
Public methodDecide(TInput)
Computes class-label decisions for each vector in the given input.
(Inherited from IMulticlassClassifierTInput.)
Public methodDecide(TInput, TClasses)
Computes class-label decisions for each vector in the given input.
(Inherited from IClassifierTInput, TClasses.)
Public methodDecide(TInput, TClasses)
Computes class-label decisions for the given input.
(Inherited from IMultilabelClassifierTInput, TClasses.)
Public methodToMultilabel
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.)
Public methodTransform(TInput)
Applies the transformation to an input, producing an associated output.
(Inherited from ICovariantTransformTInput, TOutput.)
Public methodTransform(TInput)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
(Inherited from ICovariantTransformTInput, TOutput.)
Public methodTransform(TInput, TOutput)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
(Inherited from ITransformTInput, TOutput.)
Top
See Also