Documentation ¶
Overview ¶
Package dtw provides support for Dynamic Time Warping (DTW) to align two time-series.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DTW ¶
type DTW struct { ForwardStep int BackwardStep int Template [][]float64 CostTable [][]float64 BackTracePointer [][]int }
DTW represents dynamic time warping that can be used to align two time-series.
func (*DTW) ObservationCost ¶
TODO(ryuichi) use interface
func (*DTW) SetTemplate ¶
SetTemplate sets the template to align an input sequence.
func (*DTW) TransitionCost ¶
TODO(ryuichi) use interface
Click to show internal directories.
Click to hide internal directories.