Example usage for weka.classifiers Evaluation subclass-usage

List of usage examples for weka.classifiers Evaluation subclass-usage

Introduction

In this page you can find the example usage for weka.classifiers Evaluation subclass-usage.

Usage

From source file mlflex.evaluation.CustomWekaEvaluation.java

/** This custom class helps in calculating some of the performance metrics. It takes advantage of the code in Weka that calculates these metrics. A custom class was necessary because one of the methods on the Evaluation class in weka is protected. */
public class CustomWekaEvaluation extends Evaluation {
    /** Constructor that accepts some data instances.
     *
     * @param data Data instances that will be used for the calculations
     * @throws Exception