|
StochTree 0.1.1
|
"Superclass" wrapper around tracking data structures for forest sampling algorithms More...
#include <partition_tracker.h>
Public Member Functions | |
| ForestTracker (Eigen::MatrixXd &covariates, std::vector< FeatureType > &feature_types, int num_trees, int num_observations) | |
Construct a new ForestTracker object. | |
"Superclass" wrapper around tracking data structures for forest sampling algorithms
| StochTree::ForestTracker::ForestTracker | ( | Eigen::MatrixXd & | covariates, |
| std::vector< FeatureType > & | feature_types, | ||
| int | num_trees, | ||
| int | num_observations | ||
| ) |
Construct a new ForestTracker object.
| covariates | Matrix of covariate data |
| feature_types | Type of each feature (column) in covariates. This is represented by the enum StochTree::FeatureType |
| num_trees | Number of trees in an ensemble to be sampled |
| num_observations | Number of rows in covariates |