Package weka.classifiers

Examples of weka.classifiers.Evaluation.toMatrixString()


        if (outputPerClass) {
    outBuff.append(eval.toClassDetailsString() + "\n");
        }

        if (outputConfusion) {
    outBuff.append(eval.toMatrixString() + "\n");
        }
      }

            if (   (fullClassifier instanceof Sourcable)
                 && m_OutputSourceCode.isSelected()) {
View Full Code Here


                if (outputPerClass) {
                  outBuff.append(eval.toClassDetailsString() + "\n");
                }
 
                if (outputConfusion) {
                  outBuff.append(eval.toMatrixString() + "\n");
                }
              }
     
              m_History.updateResult(name);
              m_Log.logMessage("Finished re-evaluation");
View Full Code Here

     
      Evaluation eval = new Evaluation(train);
          eval.evaluateModel(filteredClassifier, test);
         
          System.out.println(eval.toSummaryString());
        System.out.println(eval.toMatrixString());
    }
    catch (Exception e) {
      throw new SimilarityException(e);
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.