question: public static Kernel createKernel ( int kernelType ) { switch ( kernelType ) { case KERNEL_RADIAL : return new KernelRadial ( ) ; case KERNEL_POLYNOMIAL : return new KernelPolynomial ( ) ; case KERNEL_NEURAL : return new KernelNeural ( ) ; default : return new KernelDot ( ) ; } }
target:  Creates a new kernel of the given type. The kernel type has to be one out of KERNEL_DOT, KERNEL_RADIAL, KERNEL_POLYNOMIAL, or KERNEL_NEURAL.