Skip to content

Commit

Permalink
Adds test for print
Browse files Browse the repository at this point in the history
  • Loading branch information
vwmaus committed Sep 21, 2023
1 parent 9ef5f1a commit 849803d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/train.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
#' time_scale = 'day',
#' time_weight = c(steepness = 0.1, midpoint = 50),
#' formula = band ~ s(time))
#'
#'
#' print(m)
#'
#' # Visualize model patterns
#' plot(m)
#'
Expand Down
4 changes: 3 additions & 1 deletion tests/testthat/test-twdtw_classify.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ system.time(
time_weight = c(steepness = 0.1, midpoint = 50),
formula = band ~ s(time))
)
m

print(m)

# Visualize model patterns
plot(m)

Expand Down

0 comments on commit 849803d

Please sign in to comment.