Description Usage Arguments Value
View source: R/svr-functions.R
This function carries out an SVR regression under l1 penalty.
1 | svmRegress(Y, X, epsilon, lambda, intercept = TRUE, solver)
|
Y |
Vector, dependent variable. |
X |
2d array, independent variables, excluding column of constants for the intercept. |
epsilon |
Parameter defining soft-thresholding rule. |
lambda |
Parameter to scale l1 penalty. |
intercept |
Boolean, set to |
solver |
character, name of the linear programming package in
R used to obtain the bounds on the treatment effect. The
function supports |
A list including the coefficient estimates, and solutions to the primal and dual problem that can be used to identify the support vectors and recover the coefficient estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.