openModeller
Version 1.5.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) |
Public Member Functions inherited from PreAlgorithm | |
virtual | ~PreAlgorithm () |
bool | apply () |
bool | reset (const PreParameters ¶ms) |
void | resetState (PreParameters ¶ms) |
const PreParameters & | getParameters () const |
void | getLayerResult (const string layer_id, PreParameters &result) |
Additional Inherited Members | |
Public Types inherited from PreAlgorithm | |
typedef std::map< string, string > | stringMap |
Static Public Member Functions inherited from PreAlgorithm | |
static PreAlgorithm * | DefaultObject (const PreParameters ¶ms) |
Protected Member Functions inherited from PreAlgorithm | |
PreAlgorithm () | |
bool | checkInternalParameters () const |
Protected Attributes inherited from PreAlgorithm | |
PreParameters | params_ |
std::map< string, PreParameters > | result_by_layer_ |
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.
PreJackknife::PreJackknife | ( | ) |
Default constructor.
Definition at line 44 of file PreJackknife.cpp.
PreJackknife::~PreJackknife | ( | ) |
Destructor.
Definition at line 51 of file PreJackknife.cpp.
|
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().
|
virtual |
Implements PreAlgorithm.
Definition at line 78 of file PreJackknife.cpp.
|
inlinevirtual |
Return a description about the algorithm.
Implements PreAlgorithm.
Definition at line 52 of file PreJackknife.hh.
|
virtual |
Implements PreAlgorithm.
Definition at line 97 of file PreJackknife.cpp.
|
virtual |
Implements PreAlgorithm.
Definition at line 86 of file PreJackknife.cpp.
void PreJackknife::resetState | ( | PreParameters & | params | ) |
|
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().