inner_kernel_function: inner function to compute kernels, extract weights and return predictions
Description
inner function to compute kernels, extract weights and return predictions
Usage
inner_kernel_function(y_matrix, dist_matrix, Levels, weights_function, h)