public MarginKernelPerceptron(String kernelType) {
		if (kernelType.equals("perceptron_linear_kernel")) {
			kernel = new LinearKernel();
		}
		else if (kernelType.equals("perceptron_polynomial_kernel")) {
			int polynomial_kernel_exponent = 2;
			if (CommandLineUtilities.hasArg("polynomial_kernel_exponent")) {
				polynomial_kernel_exponent = CommandLineUtilities.getOptionValueAsInt("polynomial_kernel_exponent");
			}
			kernel = new PolynomialKernel(polynomial_kernel_exponent);
		}
		iters = 5;
		if (CommandLineUtilities.hasArg("online_training_iterations")) {
		    iters = CommandLineUtilities.getOptionValueAsInt("online_training_iterations");
		}
	}