mvtsa.datasets.make_signatures#

mvtsa.datasets.make_signatures(n_writers=6, n_per_writer=10, length=150, n_strokes=6, noise=0.03, warp=0.2, spread=1.0, random_state=None)[source]#

Synthetic on-line signatures: pen trajectories with five channels [x, y, pressure, azimuth, altitude].

Every writer has a template drawn from a smooth random curve (a common base curve plus a writer-specific deviation scaled by spread; small values make the writers similar and the task harder); genuine samples are randomly time-warped, slightly rescaled and noisy copies. The channels are strongly correlated and the correlation structure changes along the trajectory, which makes the data a stand-in for the SVC2004 signatures used to validate correlation-based DTW (Bankó and Abonyi, 2012). Returns (collection, writer_labels).

Examples using mvtsa.datasets.make_signatures#

Correlation-based dynamic time warping

Correlation-based dynamic time warping