IMulticlassScoreClassifier(TInput, TClasses) Interface
Click or drag to resize
Accord.NET (logo)

IMulticlassScoreClassifierTInput, TClasses Interface

Common interface for score-based multi-class classifiers. A multi-class classifier can predict to which class an instance belongs based on a decision score (a real number) that measures the association of the input with each class.

Namespace:  Accord.MachineLearning
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public interface IMulticlassScoreClassifier<TInput, TClasses> : IMulticlassOutScoreClassifier<TInput, TClasses>, 
	IMulticlassScoreClassifierBase<TInput, TClasses>, IMultilabelOutScoreClassifier<TInput, TClasses>, 
	IMultilabelScoreClassifierBase<TInput, TClasses>, IMulticlassRefScoreClassifier<TInput, TClasses[]>, 
	IMultilabelRefScoreClassifier<TInput, TClasses[]>, IMultilabelScoreClassifierBase<TInput, TClasses[]>, 
	IClassifier<TInput, TClasses>, IClassifier, ITransform<TInput, TClasses>, 
	ICovariantTransform<TInput, TClasses>, ITransform
Request Example View Source

Type Parameters

TInput
The data type for the input data. Default is double[].
TClasses
The data type for the class labels. Default is int.

The IMulticlassScoreClassifierTInput, TClasses 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 IClassifierTInput, TClasses.)
Public methodDecide(TInput)
Computes class-label decisions for each vector in the given input.
(Inherited from IClassifierTInput, TClasses.)
Public methodDecide(TInput, TClasses)
Computes class-label decisions for each vector in the given input.
(Inherited from IClassifierTInput, TClasses.)
Public methodScore(TInput, TClasses)
Predicts a class label for the input vector, returning a numerical score measuring the strength of association of the input vector to its most strongly related class.
(Inherited from IMulticlassOutScoreClassifierTInput, TClasses.)
Public methodScore(TInput, TClasses)
Predicts a class label for each input vector, returning a numerical score measuring the strength of association of the input vector to the most strongly related class.
(Inherited from IMulticlassScoreClassifierBaseTInput, TClasses.)
Public methodScore(TInput, TClasses, Double)
Predicts a class label for each input vector, returning a numerical score measuring the strength of association of the input vector to the most strongly related class.
(Inherited from IMulticlassScoreClassifierBaseTInput, TClasses.)
Public methodScores(TInput, TClasses)
Predicts a class label vector for the given input vector, returning a numerical score measuring the strength of association of the input vector to each of the possible classes.
(Inherited from IMultilabelOutScoreClassifierTInput, TClasses.)
Public methodScores(TInput, TClasses)
Predicts a class label vector for the given input vector, returning a numerical score measuring the strength of association of the input vector to each of the possible classes.
(Inherited from IMultilabelRefScoreClassifierTInput, TClasses.)
Public methodScores(TInput, TClasses)
Predicts a class label vector for each input vector, returning a numerical score measuring the strength of association of the input vector to each of the possible classes.
(Inherited from IMultilabelScoreClassifierBaseTInput, TClasses.)
Public methodScores(TInput, TClasses, Double)
Predicts a class label vector for the given input vector, returning a numerical score measuring the strength of association of the input vector to each of the possible classes.
(Inherited from IMultilabelOutScoreClassifierTInput, TClasses.)
Public methodScores(TInput, TClasses, Double)
Predicts a class label vector for the given input vector, returning a numerical score measuring the strength of association of the input vector to each of the possible classes.
(Inherited from IMultilabelRefScoreClassifierTInput, TClasses.)
Public methodScores(TInput, TClasses, Double)
Predicts a class label vector for each input vector, returning a numerical score measuring the strength of association of the input vector to each of the possible classes.
(Inherited from IMultilabelScoreClassifierBaseTInput, TClasses.)
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