Skip to contents

psvr 0.1.0

Initial CRAN release.

psvr fits support vector regression models that optimise percentage-error losses directly, for problems where targets are strictly positive and relative accuracy matters more than absolute accuracy. Classical SVR minimises absolute-error losses, which weight a fixed error equally at every scale. The derivations are in Benavides-Herrera et al. (2026) doi:10.3390/math14101679.

Known limitation: on some problems the built-in SMO solver reaches max_iter without converging; it warns, and converged on the returned fit is FALSE. This was first observed with linear and polynomial kernels, but it also occurs with the RBF kernel, so the kernel does not determine the behaviour and no other predictor of it has been established. Check converged on the returned fit, and use solver = "osqp" where the SMO loop does not converge.

Relationship to the archived v0.0.2

This is the first CRAN release, but not the first published version. Version 0.0.2 is archived on Zenodo (doi:10.5281/zenodo.19935781) and is the version the accompanying Mathematics paper was computed against. The user-facing API has changed since then. Readers reproducing the paper should install the archived v0.0.2 rather than this release.