Click or drag to resize
Accord.NET (logo)

IClassifierTInput, TClasses Interface

Common interface for classification models. Classification models learn how to produce a class-label (or a set of class labels) y from an input vector x.

Namespace:  Accord.MachineLearning
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public interface IClassifier<in 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 IClassifierTInput, 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.
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.
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