openModeller  Version 1.4.0
consensus.cpp File Reference
#include "consensus.hh"
#include <string>
#include <algorithm>
#include <sstream>
Include dependency graph for consensus.cpp:

Go to the source code of this file.

Defines

#define NUM_PARAM   7
#define MAX_ALGORITHMS   5
#define CONSENSUS_LOG_PREFIX   "Consensus: "

Functions

OM_ALG_DLL_EXPORT AlgorithmImplalgorithmFactory ()
OM_ALG_DLL_EXPORT AlgMetadata
const * 
algorithmMetadata ()

Variables

static AlgParamMetadata parameters [NUM_PARAM]
static AlgMetadata metadata

Define Documentation

#define MAX_ALGORITHMS   5
#define NUM_PARAM   7

Definition at line 38 of file consensus.cpp.


Function Documentation

OM_ALG_DLL_EXPORT AlgorithmImpl* algorithmFactory ( )

Definition at line 174 of file consensus.cpp.

OM_ALG_DLL_EXPORT AlgMetadata const* algorithmMetadata ( )

Definition at line 181 of file consensus.cpp.

References metadata.


Variable Documentation

Initial value:
 {

  "CONSENSUS",  
  "Consensus",  
  "0.2",        

  
  "Builds a consensus model with the specified algorithms",

  
  "This is a kind of meta algorithm that receives other algorithms as parameters so that it can generate the individual models and then merge the results into an aggregated model. The maximum number of algorithms is limited to 5. Leave the algorithm parameter blank if you want to use fewer algorithms. IMPORTANT: To specify an algorithm you need to know the algorithm id and its parameters names in openModeller (you can do this by inspecting the request.txt file that comes as an exemple in the command-line interface). Before merging the models, each individual model is transformed into a binary model using the lowest presence threshold. You can assign different weights to each algorithm and also specify the minimum level of agreement between the algorithms. A minimum level of 3 when 5 algorithms are used means that, when less than 3 algorithms agree on a prediction, the result will be zero, so the final model only shows areas where the specified number of algorithms agree on the prediction.",

  "Renato De Giovanni", 
  "", 

  "Renato De Giovanni", 
  "renato [at] cria . org . br", 

  0, 
  0, 

  NUM_PARAM, 
  parameters
}

Definition at line 144 of file consensus.cpp.

Definition at line 46 of file consensus.cpp.