Show / Hide Table of Contents

Class DtwClassifier

Classifies Signatures with the DTW algorithm.

Inheritance
System.Object
PipelineBase
DtwClassifier
Implements
ILoggerObject
IProgress
IPipelineIO
IDistanceClassifier
IClassifier
Inherited Members
PipelineBase.PipelineInputs
PipelineBase.PipelineOutputs
PipelineBase.Logger
PipelineBase.Progress
PipelineBase.ProgressChanged
PipelineBase.OnProgressChanged()
Namespace: SigStat.Common.PipelineItems.Classifiers
Assembly: SigStat.Common.dll
Syntax
public class DtwClassifier : PipelineBase, ILoggerObject, IProgress, IPipelineIO, IDistanceClassifier, IClassifier

Constructors

| Improve this Doc View Source

DtwClassifier()

Initializes a new instance of the DtwClassifier class with the default Manhattan distance method.

Declaration
public DtwClassifier()
| Improve this Doc View Source

DtwClassifier(Func<Double[], Double[], Double>)

Initializes a new instance of the DtwClassifier class with a specified distance method.

Declaration
public DtwClassifier(Func<double[], double[], double> distanceMethod)
Parameters
Type Name Description
Func<System.Double[], System.Double[], System.Double> distanceMethod

Accord.Math.Distance.*

Properties

| Improve this Doc View Source

DistanceFunction

The function used to calculate the distance between two data points during DTW calculation

Declaration
public Func<double[], double[], double> DistanceFunction { get; set; }
Property Value
Type Description
Func<System.Double[], System.Double[], System.Double>
| Improve this Doc View Source

Features

Gets or sets the features to consider during distance calculation

Declaration
public List<FeatureDescriptor> Features { get; set; }
Property Value
Type Description
List<FeatureDescriptor>
| Improve this Doc View Source

MultiplicationFactor

Gets or sets the multiplication factor to be used during threshold calculation

Declaration
public double MultiplicationFactor { get; set; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

Test(ISignerModel, Signature)

Declaration
public double Test(ISignerModel model, Signature signature)
Parameters
Type Name Description
ISignerModel model
Signature signature
Returns
Type Description
System.Double
| Improve this Doc View Source

Train(List<Signature>)

Declaration
public ISignerModel Train(List<Signature> signatures)
Parameters
Type Name Description
List<Signature> signatures
Returns
Type Description
ISignerModel

Implements

ILoggerObject
IProgress
IPipelineIO
IDistanceClassifier
IClassifier
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX