into new artificial data instances and a regularization constant that specify a binary classification problem and the SVM regularization constant
function β=SVEN(X, y, t, λ2);
[n,p] = size(X);
X2 = [bsxfun(@minus, X, y./t); bsxfun(@plus, X, y./t)]’;
Y2 = [ones(p,1);-ones(p,1)];
if 2p > n then
w = SVMPrimal(X2, Y2, C = 1/(2*λ2));
α = C * max(1-Y2.*(X2*w), 0);
else
α = SVMDual(X2, Y2, C = 1/(2*λ2));
end if
β = t * (α(1:p) - α(p+1:2p)) / sum(α);