Dynamically Adapting Kernels in Support Vector Machines