final String name = paramsLayer.getName();
final String kernelStr = paramsLayer.getParams().get("KERNEL");
final String svmTypeStr = paramsLayer.getParams().get("TYPE");
SVMType svmType = SVMType.NewSupportVectorClassification;
KernelType kernelType = KernelType.RadialBasisFunction;
boolean useNew = true;
if (svmTypeStr == null) {
useNew = true;