Click or drag to resize
Accord.NET (logo)

IMulticlassClassifierTInput 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<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>
Request Example View Source

Type Parameters

TInput
The data type for the input data. Default is double[].

The IMulticlassClassifierTInput 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.
Public methodDecide(TInput)
Computes class-label decisions for each vector in the given input.
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.
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