This function takes a set of profiles and regularise them by means of a SVM
smoothProfiles(
profiles,
x = 1:nrow(profiles),
svm.c = NULL,
svm.eps = NULL,
svm.gamma = NULL,
parsvm.unique = TRUE
)
Matrix of y values, one column per profile
Vector of predictive variable values, common to all profiles
SVM parameter (cost)
SVM parameter (epsilon)
SVM parameter (gamma)
Same parameters for all profiles? (logical [TRUE])
Regularized profiles
The package e1071
is needed in order to be able to use this function. SVM Parameters can be vectors of the same lenght as number of profiles, or a single value for all of them
Cano, E.L. and Moguerza, J.M. and Prieto Corcoba, M. (2015) Quality Control with R. An ISO Standards Approach. Springer.
wby.smooth <- smoothProfiles(profiles = ss.data.wby,
x = ss.data.wbx)
plotProfiles(profiles = wby.smooth,
x = ss.data.wbx)