75 const std::size_t
num_of_branches = stats_estimator_->getNumOfBranches();
79 std::vector<FeatureType> features;
80 feature_handler_->createRandomFeatures(num_of_features_, features);
83 fern.initialize(fern_depth_);
87 std::vector<std::vector<unsigned char>> flags(num_of_features_);
104 std::vector<std::vector<std::vector<unsigned char>>>
branch_flags(
127 std::vector<std::vector<float>>
thresholds(num_of_features_);
132 createThresholdsUniform(num_of_thresholds_,
151 stats_estimator_->computeInformationGain(
244 std::vector<std::vector<unsigned char>>
final_flags(
286 stats_estimator_->computeAndSetNodeStats(data_set_,
static void createThresholdsUniform(const std::size_t num_of_thresholds, std::vector< float > &values, std::vector< float > &thresholds)
Creates uniformely distrebuted thresholds over the range of the supplied values.