-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify step.pattern parameter in compare_clustering_configs #59
Comments
Hm, it seems that's actually not possible at the moment... I never thought about that case. I think the best option would be to wrap the patterns in a list like this: pdc_configs(
type = "distance",
dtw_basic = list(
norm = c("L1", "L2"), # example
step.pattern = list(dtw::symmetric1, dtw::symmetric2)
)
) But the current version of |
Maybe unlist once before calling tsclust_args.
I'll push an update to CRAN shortly, but if you can install from github, give it a try with |
I tried the new implemented functionallity with the |
Hello,
I would like to use the compare_clusterings() function with a pre-defined clustering setting. Therefore I use compare_cluster_configs respectively pdc_configs with dtw_basic as distance measure. To change step.pattern to dtw::symmetric1 for cluster-comparison I already tried to set the parameter within the dtw_basic list config e.g.
dtw_basic = list(step.pattern = dtw::symmetric1)
I also tried
dtw_basic = list(step.pattern = "dtw::symmetric1")
anddtw_basic = list(step.pattern = 1)
None of this seems to work and I get different errors for each config.
If nothing is set and default step.pattern is used everything works fine.
I would appreciate any kind of help.
Here a clipping of my code:
The text was updated successfully, but these errors were encountered: