weka.classifiers.meta.multisearch.Performance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multisearch-weka-package Show documentation
Show all versions of multisearch-weka-package Show documentation
Parameter optimization similar to GridSearch.
/*
* 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 .
*/
/*
* Performance.java
* Copyright (C) 2008-2017 University of Waikato, Hamilton, New Zealand
*/
package weka.classifiers.meta.multisearch;
import weka.classifiers.Classifier;
import weka.core.Tag;
import weka.core.setupgenerator.Point;
import java.io.Serializable;
import java.util.HashMap;
/**
* A helper class for storing the performance of values in the parameter
* space. Can be sorted with the PerformanceComparator class.
*
* @author fracpete (fracpete at waikato dot ac dot nz)
* @version $Revision: 9515 $
* @see PerformanceComparator
*/
public class Performance
implements Serializable, Cloneable {
/** for serialization. */
private static final long serialVersionUID = -4374706475277588755L;
/** the values the filter/classifier were built with. */
protected Point