asardaes / dtwclust

R Package for Time Series Clustering Along with Optimizations for DTW
https://cran.r-project.org/package=dtwclust
GNU General Public License v3.0
252 stars 29 forks source link

sigma error #48

Closed jesuslovesyiyi closed 3 years ago

jesuslovesyiyi commented 4 years ago

when running the tsclust function on a multivariate model with varying time series length, I run into the error: Parameter 'sigma' must be positive. Do you have any idea what could be the issue? Thanks in advance!

asardaes commented 4 years ago

Are you using the GAK distance?

jesuslovesyiyi commented 4 years ago

Are you using the GAK distance?

Yes

asardaes commented 4 years ago

If you specify sigma for that distance, it must be positive. I don't think the automatic estimate can give a negative result.