openModeller
Version 1.4.0
|
#include <PreJackknife.hh>
Public Member Functions | |
PreJackknife () | |
~PreJackknife () | |
string | getDescription () const |
bool | checkParameters (const PreParameters ¶meters) const |
bool | runImplementation () |
void | resetState (PreParameters ¶ms) |
void | getAcceptedParameters (stringMap &info) |
void | getLayersetResultSpec (stringMap &info) |
void | getLayerResultSpec (stringMap &info) |
Declaration of Jackknife class
LICENSE INFORMATION
Copyright(c), CRIA, Reference Center on Environmental Information
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 2 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:
http://www.gnu.org/copyleft/gpl.html Jackknife class
Definition at line 38 of file PreJackknife.hh.
Default constructor.
Definition at line 44 of file PreJackknife.cpp.
Destructor.
Definition at line 51 of file PreJackknife.cpp.
bool PreJackknife::checkParameters | ( | const PreParameters & | parameters | ) | const [virtual] |
Checks if the supplied parameters fits the requirements of each PRE algorithm implementation.
note: Error log messages must be generated. No exceptions generated.
parameters: The parameters to be checked. return true if the parameters are OK. false if not.
Implements PreAlgorithm.
Definition at line 56 of file PreJackknife.cpp.
References Log::error(), Log::instance(), and PreMultiContainer< PreMultiContainerKeyT >::retrieve().
void PreJackknife::getAcceptedParameters | ( | stringMap & | info | ) | [virtual] |
Implements PreAlgorithm.
Definition at line 78 of file PreJackknife.cpp.
string PreJackknife::getDescription | ( | ) | const [inline, virtual] |
Return a description about the algorithm.
Implements PreAlgorithm.
Definition at line 52 of file PreJackknife.hh.
void PreJackknife::getLayerResultSpec | ( | stringMap & | info | ) | [virtual] |
Implements PreAlgorithm.
Definition at line 97 of file PreJackknife.cpp.
void PreJackknife::getLayersetResultSpec | ( | stringMap & | info | ) | [virtual] |
Implements PreAlgorithm.
Definition at line 86 of file PreJackknife.cpp.
void PreJackknife::resetState | ( | PreParameters & | params | ) |
Reset the supplied parameters with internal state.
params: The supplied parameters.
Reimplemented from PreAlgorithm.
bool PreJackknife::runImplementation | ( | ) | [virtual] |
Runs the current algorithm implementation.
return true if OK. false on error.
Implements PreAlgorithm.
Definition at line 102 of file PreJackknife.cpp.
References ConfusionMatrix::calculate(), createSampler(), Log::debug(), Log::error(), ConfusionMatrix::getAccuracy(), Log::info(), Log::instance(), ConfusionMatrix::reset(), splitSampler(), and PreMultiContainer< PreMultiContainerKeyT >::store().