Example #1
0
 public static double LinearKernel(Vector w, Vector x, int power) {
   return Math.pow(w.transpose(x), power);
 }