title: OpenNLP classifier output
body: <p>At the moment I'm using the following code to train a classifier model :</p>
  
  <pre><code>    final String iterations = "1000";
      final String cutoff = "0";
      InputStreamFactory dataIn = new MarkableFileInputStreamFactory(new File("src/main/resources/trainingSets/classifierA.txt"));
      ObjectStream&lt;String&gt; lineStream = new PlainTextByLineStream(dataIn, "UTF-8");
      ObjectStream&lt;DocumentSample&gt; sampleStream = new DocumentSampleStream(lineStream);
  
      TrainingParameters params = new TrainingParameters();
      params.put(TrainingParameters.ITERATIONS_PARAM, iterations);
      params.put(TrainingParameters.CUTOFF_PARAM, cutoff);
      params.put(AbstractTrainer.ALGORITHM_PARAM, NaiveBayesTrainer.NAIVE_BAYES_VALUE);
  
      DoccatModel model = DocumentCategorizerME.train("NL", sampleStream, params, new DoccatFactory());
  
      OutputStream modelOut = new BufferedOutputStream(new FileOutputStream("src/main/resources/models/model.bin"));
      model.serialize(modelOut);
  
      return model;
  </code></pre>
  
  <p>This goes well and after every run I get the following output :</p>
  
  <pre><code>    Indexing events with TwoPass using cutoff of 0
  
      Computing event counts...  done. 1474 events
      Indexing...  done.
  Collecting events... Done indexing in 0,03 s.
  Incorporating indexed data for training...  
  done.
      Number of Event Tokens: 1474
          Number of Outcomes: 2
        Number of Predicates: 4149
  Computing model parameters...
  Stats: (998/1474) 0.6770691994572592
  ...done.
  </code></pre>
  
  <p>Could someone explain what this output means? And if it tells something about the accuracy?</p>