weka.classifiers.meta.multisearch.AbstractSearch 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 .
*/
/**
* AbstractSearch.java
* Copyright (C) 2016 University of Waikato, Hamilton, NZ
*/
package weka.classifiers.meta.multisearch;
import weka.classifiers.Classifier;
import weka.classifiers.meta.MultiSearch;
import weka.core.Instances;
import weka.core.Option;
import weka.core.OptionHandler;
import weka.core.Tag;
import weka.core.Utils;
import weka.core.setupgenerator.Point;
import weka.core.setupgenerator.Space;
import java.io.Serializable;
import java.util.AbstractMap;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import java.util.Map.Entry;
import java.util.Vector;
/**
* Ancestor for search algorithms.
*
* @author FracPete (fracpete at waikato dot ac dot nz)
* @version $Revision$
*/
public abstract class AbstractSearch
implements Serializable, Cloneable, OptionHandler, TraceableOptimizer {
private static final long serialVersionUID = -8938470419284825738L;
/** for tracking the setups. */
protected List> m_Trace;
/**
* Container class for the search results.
*
* @author FracPete (fracpete at waikato dot ac dot nz)
* @version $Revision$
*/
public static class SearchResult
implements Serializable {
private static final long serialVersionUID = -5322332623001051928L;
public Classifier classifier = null;
public Performance performance = null;
public Point © 2015 - 2025 Weber Informatics LLC | Privacy Policy