Functions
contrib/mul/clsfy/clsfy_random_forest.cxx File Reference

Random forest classifier. More...

#include "clsfy_random_forest.h"
#include <vcl_string.h>
#include <vcl_deque.h>
#include <vcl_algorithm.h>
#include <vcl_iterator.h>
#include <vcl_cmath.h>
#include <vcl_cassert.h>
#include <vsl/vsl_binary_io.h>
#include <vsl/vsl_vector_io.h>
#include <vnl/io/vnl_io_vector.h>
#include <mbl/mbl_cloneable_ptr.h>

Go to the source code of this file.

Functions

void merge_sub_forests (const vcl_vector< vcl_string > &filenames, clsfy_random_forest &large_forest)
 Merge the sub-forests in the input filenames into a single larger one.
void merge_sub_forests (const vcl_vector< clsfy_random_forest * > &sub_forests, clsfy_random_forest &large_forest)
 Merge the sub-forests pointed to the input vector a single larger one.
clsfy_random_forest operator+ (const clsfy_random_forest &forest1, const clsfy_random_forest &forest2)
 Merge the two input forests.

Detailed Description

Random forest classifier.

Author:
Martin Roberts

Definition in file clsfy_random_forest.cxx.


Function Documentation

void merge_sub_forests ( const vcl_vector< vcl_string > &  filenames,
clsfy_random_forest large_forest 
)

Merge the sub-forests in the input filenames into a single larger one.

Definition at line 260 of file clsfy_random_forest.cxx.

void merge_sub_forests ( const vcl_vector< clsfy_random_forest * > &  sub_forests,
clsfy_random_forest large_forest 
)

Merge the sub-forests pointed to the input vector a single larger one.

Definition at line 279 of file clsfy_random_forest.cxx.

clsfy_random_forest operator+ ( const clsfy_random_forest forest1,
const clsfy_random_forest forest2 
)

Merge the two input forests.

Definition at line 295 of file clsfy_random_forest.cxx.