Description Usage Arguments Value Examples
View source: R/dba_clust_generate.R
Generate a clustering of freatures with dba
and tsclust
functions.
Apply a global averaging method for time series under DTW (Petitjean, Ketterlin and Gancarski 2011) of numerical times series features.
1 2 3 4 |
dt |
A matrix, json or data frame where each row is a time series, or a list where each element is a time series |
type |
What type of clustering method to use: "partitional", "hierarchical", "tadpole" or "fuzzy" (optional), |
list_cluster_k |
Number of desired clusters. It can be a numeric vector with different values. |
learn_size |
number of items dedicated to the learnset (step 1) , |
explanatory_variable |
list of covariates (optional), |
print_time |
computational time |
arm_for_learn |
arm dedicated to the learnset (step 1) (optional), |
print_graph |
print clusters and controid c("all", "centroid","cluster","none") |
An object of class TSClusters-class
1 | dba_clust_generate(dt = data.train[1:1000,listInteger], list_cluster_k = list_cluster_k , print_graph = "none")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.