Click or drag to resize
Accord.NET (logo) ClassifierBaseTInput, TClasses Class
Base class for multi-class and multi-label classifiers.
Inheritance Hierarchy
SystemObject
  Accord.MachineLearningTransformBaseTInput, TClasses
    Accord.MachineLearningClassifierBaseTInput, TClasses
      Accord.MachineLearningBinaryClassifierBaseTInput
      Accord.MachineLearningMulticlassClassifierBaseTInput
      Accord.MachineLearningMultilabelClassifierBaseTInput

Namespace:  Accord.MachineLearning
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.4.0
Syntax
[SerializableAttribute]
public abstract class ClassifierBase<TInput, TClasses> : TransformBase<TInput, TClasses>, 
	IClassifier<TInput, TClasses>, ITransform<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 classes. Default is int.

The ClassifierBaseTInput, TClasses type exposes the following members.

Constructors
  NameDescription
Protected methodClassifierBaseTInput, TClasses
Initializes a new instance of the ClassifierBaseTInput, TClasses class
Top
Properties
Methods
  NameDescription
Public methodDecide(TInput)
Computes a class-label decision for a given input.
Public methodDecide(TInput)
Computes class-label decisions for a given set of input vectors.
Public methodDecide(TInput, TClasses)
Computes a class-label decision for a given input.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform(TInput)
Applies the transformation to an input, producing an associated output.
(Overrides TransformBaseTInput, TOutputTransform(TInput).)
Public methodTransform(TInput)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
(Inherited from TransformBaseTInput, TOutput.)
Public methodTransform(TInput, TClasses)
Applies the transformation to an input, producing an associated output.
(Overrides TransformBaseTInput, TOutputTransform(TInput, TOutput).)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by Matrix.)
Top
See Also