Package org.apache.ctakes.utils.kernel

Examples of org.apache.ctakes.utils.kernel.RBFKernel


    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);
View Full Code Here

TOP

Related Classes of org.apache.ctakes.utils.kernel.RBFKernel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.