openModeller  Version 1.5.0
rf_alg.cpp File Reference
#include "rf_alg.hh"
#include <openmodeller/Sampler.hh>
#include <openmodeller/Exceptions.hh>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include "librf/instance_set.h"
#include "librf/tree.h"
#include "librf/weights.h"
Include dependency graph for rf_alg.cpp:

Go to the source code of this file.

Macros

#define NUM_PARAM   3
 
#define NUMTREES_ID   "NumTrees"
 
#define K_ID   "VarsPerTree"
 
#define UNSUP_ID   "ForceUnsupervisedLearning"
 
#define RF_LOG_PREFIX   "RfAlgorithm: "
 

Functions

OM_ALG_DLL_EXPORT AlgorithmImplalgorithmFactory ()
 
OM_ALG_DLL_EXPORT AlgMetadata
const * 
algorithmMetadata ()
 

Variables

static AlgParamMetadata parameters [NUM_PARAM]
 
static AlgMetadata metadata
 

Macro Definition Documentation

#define K_ID   "VarsPerTree"

Definition at line 50 of file rf_alg.cpp.

Referenced by RfAlgorithm::initialize().

#define NUM_PARAM   3

Definition at line 47 of file rf_alg.cpp.

#define NUMTREES_ID   "NumTrees"

Definition at line 49 of file rf_alg.cpp.

Referenced by RfAlgorithm::initialize().

#define RF_LOG_PREFIX   "RfAlgorithm: "

Definition at line 53 of file rf_alg.cpp.

Referenced by RfAlgorithm::initialize().

#define UNSUP_ID   "ForceUnsupervisedLearning"

Definition at line 51 of file rf_alg.cpp.

Referenced by RfAlgorithm::initialize().

Function Documentation

OM_ALG_DLL_EXPORT AlgorithmImpl* algorithmFactory ( )

Definition at line 134 of file rf_alg.cpp.

OM_ALG_DLL_EXPORT AlgMetadata const* algorithmMetadata ( )

Definition at line 141 of file rf_alg.cpp.

References metadata.

Variable Documentation

AlgMetadata metadata
static
Initial value:
= {
"RF",
"Random Forests",
"0.2",
"Random Forests",
"Random Forests",
"Leo Breiman & Adele Cutler",
"Breiman, L. (2001). Random forests. Machine Learning, 45, 5-32.",
"Renato De Giovanni",
"renato [at] cria . org . br",
0,
0,
}
#define NUM_PARAM
Definition: rf_alg.cpp:47
static AlgParamMetadata parameters[NUM_PARAM]
Definition: rf_alg.cpp:58

Definition at line 104 of file rf_alg.cpp.

Referenced by algorithmMetadata().

AlgParamMetadata parameters[NUM_PARAM]
static

Definition at line 58 of file rf_alg.cpp.