Package org.apache.ctakes.relationextractor.eval.RelationExtractorEvaluation

Examples of org.apache.ctakes.relationextractor.eval.RelationExtractorEvaluation.ParameterSettings


    File modelsDirModExtractor = new File(modelsDirBase, "modifier_extractor");
    File modelsDirDegreeOf = new File(modelsDirBase, "degree_of");
    File modelsDirEMPair = new File(modelsDirBase, "em_pair");
   
    // Initialize component parameters
    ParameterSettings degreeOfParams = new ParameterSettings(false, 1.0f, "linear", 0.05, 1.0);
    ParameterSettings emPairParams = new ParameterSettings(false, 0.5f, "linear", 0.05, 1.0);

    // For now all three components use MultiClass SVMs for classification
    Class<? extends DataWriter<String>> dataWriterClass = LIBSVMStringOutcomeDataWriter.class;
       
    // Train and write models
View Full Code Here

TOP

Related Classes of org.apache.ctakes.relationextractor.eval.RelationExtractorEvaluation.ParameterSettings

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.