ahwillia / affinewarp

An implementation of piecewise linear time warping for multi-dimensional time series alignment
MIT License
162 stars 36 forks source link

Returns self in fit() methods. #15

Closed nirum closed 3 years ago

nirum commented 3 years ago

Returns self at the end of each fit() method, so that you could do the following (pretty common in scikit learn style):

model = PiecewiseWarping().fit(data)

as opposed to having to do the following:

model = PiecewiseWarping()
model.fit(data)

gotta save vertical space :)

ahwillia commented 3 years ago

Thanks!