![JAR search and dependency download from the Maven repository](/logo.png)
meka.experiment.statisticsexporters.MultiExporter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meka Show documentation
Show all versions of meka Show documentation
The MEKA project provides an open source implementation of methods for multi-label classification and evaluation. It is based on the WEKA Machine Learning Toolkit. Several benchmark methods are also included, as well as the pruned sets and classifier chains methods, other methods from the scientific literature, and a wrapper to the MULAN framework.
The newest version!
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
/**
* AbstractMetaEvaluationStatisticsExporter.java
* Copyright (C) 2015 University of Waikato, Hamilton, NZ
*/
package meka.experiment.statisticsexporters;
import meka.core.OptionUtils;
import meka.experiment.evaluationstatistics.EvaluationStatistics;
import meka.events.LogListener;
import weka.core.Option;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import java.util.Vector;
/**
* Exports the statistics using multiple exporters.
*
* @author FracPete (fracpete at waikato dot ac dot nz)
* @version $Revision$
*/
public class MultiExporter
extends AbstractEvaluationStatisticsExporter {
private static final long serialVersionUID = 7974229256817823349L;
/** the base exporter. */
protected EvaluationStatisticsExporter[] m_Exporters = getDefaultExporters();
/**
* Description to be displayed in the GUI.
*
* @return the description
*/
@Override
public String globalInfo() {
return "Exports the statistics using multiple exporters.";
}
/**
* Returns the default exporters to use.
*
* @return the default
*/
protected EvaluationStatisticsExporter[] getDefaultExporters() {
return new EvaluationStatisticsExporter[0];
}
/**
* Sets the exporters to use.
*
* @param value the exporters
*/
public void setExporters(EvaluationStatisticsExporter[] value) {
m_Exporters = value;
}
/**
* Returns the exporter in use.
*
* @return the exporter
*/
public EvaluationStatisticsExporter[] getExporters() {
return m_Exporters;
}
/**
* Describes this property.
*
* @return the description
*/
public String exportersTipText() {
return "The base exporters to use.";
}
/**
* Returns an enumeration of all the available options..
*
* @return an enumeration of all available options.
*/
@Override
public Enumeration
© 2015 - 2025 Weber Informatics LLC | Privacy Policy