diff --git a/R/predict_bagofpatterns_knn.R b/R/predict_bagofpatterns_knn.R index 93e9e84..3366252 100644 --- a/R/predict_bagofpatterns_knn.R +++ b/R/predict_bagofpatterns_knn.R @@ -9,7 +9,6 @@ #' #' @param model a fitted model returned by `bagofpatterns_knn` #' @param newdata optional new data frame - if not passed, will return training set predictions -#' @param verbose whether to print the fitting steps when creating the BoP representation #' @param ... Not used, left for generics consistency. #' @examples #' data("FaceAll_TRAIN") diff --git a/man/predict.bagofpatterns.Rd b/man/predict.bagofpatterns.Rd index 9a46348..a954592 100644 --- a/man/predict.bagofpatterns.Rd +++ b/man/predict.bagofpatterns.Rd @@ -13,8 +13,6 @@ \item{...}{Not used, left for generics consistency.} -\item{verbose}{whether to print the fitting steps when creating the BoP representation} -} \description{ Classifies new time series according to a trained BoP model using KNN } @@ -27,6 +25,4 @@ the words present in the training data as the basis for neighbour matching. \examples{ data("FaceAll_TRAIN") data("FaceAll_TEST") -model <- bagofpatterns_knn(FaceAll_TRAIN, window_size = 10, verbose = FALSE, k = 1) -new_preds <- predict(model, newdata = FaceAll_TEST, verbose = FALSE) }