String dir = "/home/tmill/Projects/coref/training/";
String config = "treeKernels";
String path = dir+config;
LinearKernel linear = new LinearKernel(false);
PolyKernel poly = new PolyKernel(3, 0.0, false);
RBFKernel rbf = new RBFKernel(0.5);
Kernel kernel = rbf;
LinearKernelMatrixWriter lkmw;
lkmw = new LinearKernelMatrixWriter(path + "/ne/training.downsampled.libsvm", path + "/ne/featRBFMatrix.downsampled.out");
lkmw.run(kernel);