Questions tagged [tsclust]

An R package to provide functions to conduct time series clustering

10 questions
2
votes
2 answers

Evaluate the optimum number of clusters “k” in time-series clustering using dtwclust package

I use following tsclust statement to cluster data SURFSKINTEMP_CLUST <- tsclust(SURFSKINTEMP, k = 10L:20L, distance = "dtw_basic", centroid = "dba", trace = TRUE, seed = 938, norm…
Pan
  • 193
  • 1
  • 2
  • 11
1
vote
0 answers

How to use DBA centroid in tsclust with hierarchical clustering

I'm pretty new to R and try to do some time series clustering. I use the function tsclust and want to combine the dtwbasic distance with the dba centroid in hierarchical clustering. However, when I try to do so I receive the error "The 'centroid'…
yasmina
  • 11
  • 1
1
vote
1 answer

Labelling clustered data

I hope somebody can help me. I've been trying to wonder how my data is clustered and for that I've been using k-means and the elbow method in R as suggested in the R-bloggers blog. Here's a sample of how my data looks like (datanet). I've based my…
juansalix
  • 503
  • 1
  • 8
  • 21
1
vote
1 answer

Package TSclust in R, What is the definition of SAX.breakpoints.table function

There is a function called MINDIST.SAX in package TSclust. Here is the body of the function: require(TSclust) > MINDIST.SAX function (x, y, alpha, n) { w <- length(x) symb <- SAX.breakpoints.table(alpha) d <- 0 for (i in 1:w) { …
Stat
  • 671
  • 7
  • 19
0
votes
0 answers

Export or save tsclust model

I am doing a time-series clustering on a large dataset (3000 time-series, with > 50 points each). Thus, I was wondering if once I have finished the analysis, it would be possible to: export the model so that I can cluster new series swiftly. export…
Santi
  • 368
  • 2
  • 15
0
votes
2 answers

Time-series clustering with multiple seeds automated

i am trying to use time-series clustering, following the excellent examples of https://cran.r-project.org/web/packages/dtwclust/vignettes/dtwclust.pdf . However, when I use partitional clustering, the seed is very crucial to the results. Is there an…
Steve
  • 13
  • 1
0
votes
1 answer

Time Series Hierarchical Clustering in R column-wise

I'm trying to doing a time series clustering using tsclust and my dataset looks like this: I have over 500 time series with eight observations each on the same time line. I applied tsclust to it but got clusters by time but not by series(As…
0
votes
2 answers

How to use dissimilarity matrix with NbClust in R

I have a dissimilarity matrix computed by other R package, TSclust with INT.PER method. I want to use the dissimilarity matrix to retrieve optimal number of clusters from NbClust(). But I get an error. How can I fix this?…
Young
  • 47
  • 2
  • 9
0
votes
1 answer

SAX function of TSclust package generate an error

I am using TSclust package for SAX (symbolic aggregate aggregation) plots. In accordance to example shown on page 25, I am using the function SAX.plot(as.ts(df$power), w=30, alpha=4) But, it generates error as: Error in if ((n <-…
Haroon Lone
  • 2,837
  • 5
  • 29
  • 65
0
votes
0 answers

TSclust package not found

I don't know what goes wrong or how to fix it. Can you please help me with this? > install.packages("TSclust") % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total …
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408