Package org.apache.ctakes.ytex.kernel.model

Examples of org.apache.ctakes.ytex.kernel.model.SemiLClassifierEvaluation


      outputReader = new BufferedReader(new FileReader(output));
      String optionsLine = null;
      String predictLine = null;
      while ((optionsLine = outputReader.readLine()) != null
          && (predictLine = outputReader.readLine()) != null) {
        SemiLClassifierEvaluation ce = new SemiLClassifierEvaluation();
        // set label, fold, etc
        this.initClassifierEvaluation(fileBaseName, ce);
        // set name, experiment
        this.initClassifierEvaluationFromProperties(kernelProps, ce);
        BiMap<Integer, String> classIdToNameMap = loadClassIdMap(
            dataDir, ce.getLabel());
        // parse options
        parseOptions(ce, optionsLine, kernelProps, output.getName());
        boolean storeUnlabeled = YES.equalsIgnoreCase(kernelProps
            .getProperty(
                ParseOption.STORE_UNLABELED.getOptionKey(),
View Full Code Here

TOP

Related Classes of org.apache.ctakes.ytex.kernel.model.SemiLClassifierEvaluation

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.