Package: psvr
Title: Percentage-Error Support Vector Regression
Version: 0.1.0
Authors@R: 
    person("Pablo", "Benavides-Herrera", email = "pbenavides@iteso.mx",
           role = c("aut", "cre"),
           comment = c(ORCID = "0000-0003-4926-4763"))
Description: Implements four support vector regression (SVR) models derived
    from a unified mathematical framework for percentage-error loss
    functions: epsilon-SVR minimizing the mean absolute percentage error
    (MAPE), its symmetric kernel extension, least-squares SVR (LS-SVR)
    minimizing the root mean square percentage error (RMSPE), and its
    symmetric counterpart. All models require strictly positive targets.
    The epsilon-SVR models are solved via a built-in sequential minimal
    optimization (SMO) algorithm (with 'osqp' available as an optional
    alternative backend) and the LS-SVR models via a linear system (base R).
    See Benavides-Herrera et al. (2026) <doi:10.3390/math14101679> for the
    mathematical derivations.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.3.3
Depends: R (>= 4.1)
Imports: dials, Matrix, parsnip, Rcpp (>= 1.0.10), rlang, scales,
        stats, tune, utils, workflowsets
LinkingTo: Rcpp
Suggests: dplyr, ggplot2, knitr, osqp, recipes, rmarkdown, rsample,
        testthat (>= 3.0.0), tibble, workflows, yardstick
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://pbenavidesh.github.io/psvr/
Config/Needs/website: rmarkdown, tsibbledata, tsibble, lubridate,
        ggplot2, kableExtra, kernlab, scales, tidyr, tidyverse,
        tidymodels, modeldata, future, ranger, xgboost, ggrepel,
        sessioninfo, modeltime, timetk, randomForest, readxl, xfun,
        e1071, quantreg, lars, patchwork, here
NeedsCompilation: yes
Packaged: 2026-09-14 19:56:47 UTC; behep
Author: Pablo Benavides-Herrera [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-4926-4763>)
Maintainer: Pablo Benavides-Herrera <pbenavides@iteso.mx>
Repository: CRAN
Date/Publication: 2026-09-24 14:40:08 UTC
