
// (y<x,x'>+r)^d
double[] kernels = new double[{0}];
double kernel;
for (int i = 0; i < {0}; i++) {{
    kernel = 0.;
    for (int j = 0; j < {1}; j++) {{
        kernel += svs[i][j] * atts[j];
    }}
    kernels[i] = Math.pow(({2} * kernel) + {3}, {4});
}}
