Click or drag to resize
Accord.NET (logo)

CodificationTOptions Class

Options for processing a column.
Inheritance Hierarchy
SystemObject
  Accord.Statistics.FiltersColumnOptionsBaseCodificationT
    Accord.Statistics.FiltersCodificationTOptions

Namespace:  Accord.Statistics.Filters
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public class Options : ColumnOptionsBase<Codification<T>>, 
	ITransform<T, int>, ICovariantTransform<T, int>, ITransform, IClassifier<T, int>, 
	IClassifier, ITransform<T, double[]>, ICovariantTransform<T, double[]>, 
	IUnsupervisedLearning<CodificationTOptions, T, int>, IUnsupervisedLearning<CodificationTOptions, T, double[]>
Request Example View Source

The CodificationTOptions generic type exposes the following members.

Constructors
  NameDescription
Public methodCodificationTOptions
Constructs a new Options object.
Public methodCodificationTOptions(String)
Constructs a new Options object for the given column.
Public methodCodificationTOptions(String, CodificationVariable)
Constructs a new Options object for the given column.
Public methodCodificationTOptions(String, DictionaryT, Int32)
Constructs a new Options object for the given column.
Public methodCodificationTOptions(String, CodificationVariable, T)
Constructs a new Options object for the given column.
Public methodCodificationTOptions(String, CodificationVariable, T)
Constructs a new Options object for the given column.
Top
Properties
  NameDescription
Public propertyColumnName
Gets or sets the name of the column that the options will apply to.
(Inherited from ColumnOptionsBaseTFilter.)
Public propertyHasMissingValue
Gets or sets whether the column can contain missing values.
Public propertyMapping
Gets or sets the label mapping for translating integer labels to the original string labels.
Public propertyMissingValue
Gets or sets how missing values are represented in this column.
Public propertyMissingValueReplacement
Gets or sets a value to be used to replace missing values. Default is to replace missing values using System.DBNull.Value.
Public propertyNumberOfClasses
Gets or sets the number of classes expected and recognized by the classifier.
Public propertyNumberOfInputs
Gets the number of inputs accepted by the model (value will be 1).
Public propertyNumberOfOutputs
Gets the number of outputs generated by the model. See remarks for details.
Public propertyNumberOfSymbols
Gets the number of symbols used to code this variable. See remarks for details.
Public propertyOwner
Gets or sets the filter to which these options belong to.
(Inherited from ColumnOptionsBaseTFilter.)
Public propertySymbols Obsolete.
Gets the number of symbols used to code this variable.
Public propertyTag
Gets or sets a user-determined object associated with this column.
(Inherited from ColumnOptionsBaseTFilter.)
Public propertyToken
Gets or sets a cancellation token that can be used to stop the learning algorithm while it is running.
(Inherited from ColumnOptionsBaseTFilter.)
Public propertyValues
Gets the values associated with each symbol, in the order of the symbols.
Public propertyVariableType
Gets the codification type that should be used for this variable.
Top
Methods
  NameDescription
Public methodDecide(T)
Computes a class-label decision for a given input.
Public methodDecide(T)
Computes class-label decisions for each vector in the given input.
Public methodDecide(T, Int32)
Computes class-label decisions for each vector in the 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.)
Public methodIsMissingValue
Determines whether the given object denotes a missing value.
Public methodLearn(DataRow, Double)
Learns a model that can map the given inputs to the desired outputs.
Public methodLearn(DataTable, Double)
Learns a model that can map the given inputs to the desired outputs.
Public methodLearn(T, Double)
Learns a model that can map the given inputs to the desired outputs.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemap
Forces the given key to have a specific symbol value.
Public methodRevert(Int32)
Reverts the transformation to a set of output vectors, producing an associated set of input vectors.
Public methodRevert(Int32)
Reverts the transformation to a set of output vectors, producing an associated set of input vectors.
Public methodRevert(Int32, T)
Reverts the transformation to a set of output vectors, producing an associated set of input vectors.
Public methodToString
Returns a String that represents this instance.
(Inherited from ColumnOptionsBaseTFilter.)
Public methodTransform(DataRow)
Applies the transformation to an input, producing an associated output.
Public methodTransform(DataRow)
Applies the transformation to an input, producing an associated output.
Public methodTransform(T)
Applies the transformation to an input, producing an associated output.
Public methodTransform(T)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(DataRow, Int32)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(T, Double)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(T, Int32)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
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 ExtensionMethods.)
Top
See Also