Click or drag to resize
Accord.NET (logo)

BaseDiscriminantAnalysis Class

Base class for Discriminant Analysis (LDA, QDA or KDA).
Inheritance Hierarchy
SystemObject
  Accord.MachineLearningTransformBaseDouble, Double
    Accord.Statistics.AnalysisBaseDiscriminantAnalysis
      Accord.Statistics.AnalysisKernelDiscriminantAnalysis
      Accord.Statistics.AnalysisLinearDiscriminantAnalysis

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public abstract class BaseDiscriminantAnalysis : TransformBase<double[], double[]>
Request Example View Source

The BaseDiscriminantAnalysis type exposes the following members.

Constructors
  NameDescription
Protected methodBaseDiscriminantAnalysis
Initializes a new instance of the BaseDiscriminantAnalysis class
Top
Properties
  NameDescription
Protected propertyClassCount
Gets the observation count for each class.
Public propertyClasses
Gets information about the distinct classes in the analyzed data.
Public propertyClassifications Obsolete.
Gets the original classifications (labels) of the source data given on the moment of creation of this analysis object.
Protected propertyClassMeans
Gets the Mean vector for each class.
Protected propertyClassScatter
Gets the Scatter matrix for each class.
Protected propertyClassStandardDeviations
Gets the Standard Deviation vector for each class.
Public propertyCumulativeProportions
The cumulative distribution of the discriminants factors proportions. Also known as the cumulative energy of the first dimensions of the discriminant space or as the amount of variance explained by those dimensions.
Public propertyDiscriminantMatrix Obsolete.
Gets the Eigenvectors obtained during the analysis, composing a basis for the discriminant factor space.
Public propertyDiscriminantProportions
Gets the level of importance each discriminant factor has in discriminant space. Also known as amount of variance explained.
Public propertyDiscriminants
Gets the discriminant factors in a object-oriented fashion.
Public propertyDiscriminantVectors
Gets the Eigenvectors obtained during the analysis, composing a basis for the discriminant factor space.
Public propertyEigenvalues
Gets the Eigenvalues found by the analysis associated with each vector of the ComponentMatrix matrix.
Public propertyMeans
Gets the mean of the original data given at method construction.
Public propertyNumberOfClasses
Gets the number of classes in the analysis.
Public propertyNumberOfInputs
Gets the number of inputs accepted by the model.
(Inherited from TransformBaseTInput, TOutput.)
Public propertyNumberOfOutputs
Gets the number of outputs generated by the model.
(Inherited from TransformBaseTInput, TOutput.)
Public propertyNumberOfSamples
Gets the number of samples used to create the analysis.
Protected propertyProjectionMeans
Gets the feature space mean of the projected data.
Public propertyResult Obsolete.
Gets the resulting projection of the source data given on the creation of the analysis into discriminant space.
Public propertyScatterBetweenClass
Gets the Between-Class Scatter Matrix for the data.
Public propertyScatterMatrix
Gets the Total Scatter Matrix for the data.
Public propertyScatterWithinClass
Gets the Within-Class Scatter Matrix for the data.
Public propertySource Obsolete.
Returns the original supplied data to be analyzed.
Public propertyStandardDeviations
Gets the standard mean of the original data given at method construction.
Public propertyThreshold
Gets or sets the minimum variance proportion needed to keep a discriminant component. If set to zero, all components will be kept. Default is 0.001 (all components which contribute less than 0.001 to the variance in the data will be discarded).
Public propertyToken
Gets or sets a cancellation token that can be used to stop the learning algorithm while it is running.
Top
Methods
  NameDescription
Public methodClassify(Double) Obsolete.
Classifies a new instance into one of the available classes.
Public methodClassify(Double) Obsolete.
Classifies new instances into one of the available classes.
Public methodClassify(Double, Double) Obsolete.
Classifies a new instance into one of the available classes.
Protected methodCreateDiscriminants
Creates additional information about principal components.
Public methodDiscriminantFunction
Gets the output of the discriminant function for a given class.
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.)
Protected methodStatic memberGetNonzeroEigenvalues
Returns the number of discriminant space dimensions (discriminant factors) whose variance is greater than a given threshold.
Public methodGetNumberOfDimensions
Returns the minimum number of discriminant space dimensions (discriminant factors) required to represent a given percentile of the data.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodinit Obsolete.
Obsolete.
Protected methodInit
Initializes common properties.
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(Double) Obsolete.
Obsolete.
Public methodTransform(Double)
Applies the transformation to an input, producing an associated output.
(Overrides TransformBaseTInput, TOutputTransform(TInput).)
Public methodTransform(Double)
Applies the transformation to an input, producing an associated output.
(Overrides TransformBaseTInput, TOutputTransform(TInput).)
Public methodTransform(TInput, TOutput)
Applies the transformation to an input, producing an associated output.
(Inherited from TransformBaseTInput, TOutput.)
Public methodTransform(Double, Int32) Obsolete.
Obsolete.
Public methodTransform(Double, Int32) Obsolete.
Obsolete.
Public methodTransform(Double, Int32) Obsolete.
Obsolete.
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