Skip to content

Commit

Permalink
fix missing argument in svm multistep models
Browse files Browse the repository at this point in the history
  • Loading branch information
mitokic committed Apr 16, 2024
1 parent 70718e0 commit 10557e5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/multistep_svm_poly.R
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ print.svm_poly_multistep <- function(x, ...) {
#' insensitive loss function
#' @param lag_periods lag periods
#' @param external_regressors external regressors
#' @param forecast_horizon forecast horizon
#' @param selected_features selected features
#' @param fresh fresh
#' @param ... extra args passed to svm_poly
Expand All @@ -225,6 +226,7 @@ update.svm_poly_multistep <- function(object,
margin = NULL,
lag_periods = NULL,
external_regressors = NULL,
forecast_horizon = NULL,
selected_features = NULL,
fresh = FALSE, ...) {
eng_args <- parsnip::update_engine_parameters(object$eng_args, fresh, ...)
Expand Down
2 changes: 2 additions & 0 deletions R/multistep_svm_rbf.R
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ print.svm_rbf_multistep <- function(x, ...) {
#' insensitive loss function.
#' @param lag_periods lag periods
#' @param external_regressors external regressors
#' @param forecast_horizon forecast horizon
#' @param selected_features selected features
#' @param fresh fresh
#' @param ... extra args passed to svm_rbf
Expand All @@ -210,6 +211,7 @@ update.svm_rbf_multistep <- function(object,
margin = NULL,
lag_periods = NULL,
external_regressors = NULL,
forecast_horizon = NULL,
selected_features = NULL,
fresh = FALSE, ...) {
eng_args <- parsnip::update_engine_parameters(object$eng_args, fresh, ...)
Expand Down
3 changes: 3 additions & 0 deletions man/update.svm_poly_multistep.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/update.svm_rbf_multistep.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 10557e5

Please sign in to comment.