Ignore:
Timestamp:
06/27/05 10:45:56 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mranforest/MRanForest.cc

    r2307 r7170  
    2424
    2525/////////////////////////////////////////////////////////////////////////////
    26 //                                                                         //
    27 // MRanForest                                                              //
    28 //                                                                         //
    29 // ParameterContainer for Forest structure                                 //
    30 //                                                                         //
    31 // A random forest can be grown by calling GrowForest.                     //
    32 // In advance SetupGrow must be called in order to initialize arrays and   //
    33 // do some preprocessing.                                                  //
    34 // GrowForest() provides the training data for a single tree (bootstrap    //
    35 // aggregate procedure)                                                    //
    36 //                                                                         //
    37 // Essentially two random elements serve to provide a "random" forest,     //
    38 // namely bootstrap aggregating (which is done in GrowForest()) and random //
    39 // split selection (which is subject to MRanTree::GrowTree())              //
    40 //                                                                         //
     26//
     27// MRanForest
     28//
     29// ParameterContainer for Forest structure
     30//
     31// A random forest can be grown by calling GrowForest.
     32// In advance SetupGrow must be called in order to initialize arrays and
     33// do some preprocessing.
     34// GrowForest() provides the training data for a single tree (bootstrap
     35// aggregate procedure)
     36//
     37// Essentially two random elements serve to provide a "random" forest,
     38// namely bootstrap aggregating (which is done in GrowForest()) and random
     39// split selection (which is subject to MRanTree::GrowTree())
     40//
     41// Version 2:
     42//  + fUserVal
     43//
    4144/////////////////////////////////////////////////////////////////////////////
    4245#include "MRanForest.h"
     
    5962// Default constructor.
    6063//
    61 MRanForest::MRanForest(const char *name, const char *title) : fNumTrees(100), fRanTree(NULL),fUsePriors(kFALSE)
     64MRanForest::MRanForest(const char *name, const char *title) : fNumTrees(100), fRanTree(NULL),fUsePriors(kFALSE), fUserVal(-1)
    6265{
    6366    fName  = name  ? name  : "MRanForest";
Note: See TracChangeset for help on using the changeset viewer.