function y = classKernelReg(alpha,Xtr,f_krnl,krnl_p,X)
% y = classKernelReg(alpha,Xtr,f_krnl,krnl_p,X)
%
% alpha dual weight vector returned by learnKernelReg
% Xtr training examples
% f_krnl function handle of kernel function with kernel parameter krnl_p
% X examples to predict
%
% Predicts regression values for examples X

Z = f_krnl(X, Xtr, krnl_p);
y = Z*alpha;

%Z = f_krnl(Xtr, X, krnl_p);
%y = Z'*alpha
