CoreAlg | R Documentation |
CoreAlg performs nu-regression using support vector machines (SVM) and calculates weights, root mean squared error (RMSE), and correlation coefficient (R).
CoreAlg(X, y, absolute, abs_method)
X |
Input matrix or data frame containing the predictor variables. |
y |
Numeric vector containing the response variable. |
absolute |
Logical value indicating whether to use absolute space or relative space for the weights. |
abs_method |
String indicating the method to calculate the weights in absolute space. Can be either 'sig.score' or 'no.sumto1'. |
A list containing the weights ('w'), root mean squared error ('mix_rmse'), and correlation coefficient ('mix_r').
X <- matrix(rnorm(100), nrow = 10)
y <- rnorm(10)
result <- CoreAlg(X, y, absolute = FALSE, abs_method = "sig.score")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.