Skip to content

Commit

Permalink
Update NEWS. Rebuild vignettes.
Browse files Browse the repository at this point in the history
  • Loading branch information
vwmaus committed May 2, 2017
1 parent 6b0a837 commit af6983a
Show file tree
Hide file tree
Showing 26 changed files with 7 additions and 1,620 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ Imports:
lubridate,
caret,
mgcv,
xtable,
dtwclust
xtable
Suggests:
testthat,
knitr,
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ importFrom(dtw,asymmetric)
importFrom(dtw,rabinerJuangStepPattern)
importFrom(dtw,symmetric1)
importFrom(dtw,symmetric2)
importFrom(dtwclust,tsclust)
importFrom(grDevices,gray.colors)
importFrom(grDevices,terrain.colors)
importFrom(lubridate,"day<-")
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# dtwSat v0.2.3.9000

* New features

Register TWDTW as a distance function into package proxy.

# dtwSat v0.2.2 Release Notes

* New features
Expand Down
16 changes: 0 additions & 16 deletions R/twdtwDist.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,3 @@
as.matrix(d)
}

# library(dtwSat)
# library(dtw)
# library(dtwclust)
# log_fun = logisticWeight(-0.1, 100)
# phi = proxy::dist(x=MOD13Q1.patterns.list, y=MOD13Q1.patterns.list[1:2], method="TWDTW", weight.fun=log_fun)
# phi
# a=twdtwApply(twdtwTimeSeries(MOD13Q1.patterns.list), twdtwTimeSeries(MOD13Q1.patterns.list), n=1, weight.fun=log_fun)
# a[[3]]
#
# aux = c(MOD13Q1.patterns.list, MOD13Q1.patterns.list, MOD13Q1.patterns.list)
# a1 = tsclust(series = aux, distance = "DTW", trace = TRUE, type = "hierarchical", k = 3)
# log_fun = logisticWeight(-0.1, 100)
# a2 = tsclust(series = aux, distance = "TWDTW", trace = TRUE, type = "hierarchical", k = 3, weight.fun=log_fun, span = 300)
# a1
# a2

1 change: 0 additions & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#' @importFrom lubridate month month<- day day<- year year<-
#' @importFrom caret createDataPartition
#' @importFrom xtable xtable print.xtable
#' @importFrom dtwclust tsclust
#' @useDynLib dtwSat, .registration = TRUE
#'
NULL
Expand Down
Binary file modified inst/doc/applying_twdtw.pdf
Binary file not shown.
229 changes: 0 additions & 229 deletions vignettes/applying_twdtw.R

This file was deleted.

Binary file removed vignettes/applying_twdtw.pdf
Binary file not shown.
Loading

0 comments on commit af6983a

Please sign in to comment.