Skip to content

Commit

Permalink
Disable non-interresting & slow experiments from the training benchmark.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 690554064
  • Loading branch information
achoum authored and copybara-github committed Oct 28, 2024
1 parent 772b008 commit 946e522
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions yggdrasil_decision_forests/cli/monitoring/benchmark_training.cc
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ GBTVariations() {

// Make sure PRESORTED is always used.
// Note: Ideally, FORCE_PRESORTED should be renamed to PRESORTED.
/*
{" force_presorted",
[](model::gradient_boosted_trees::proto::
GradientBoostedTreesTrainingConfig* gbt_config) {
Expand All @@ -354,6 +355,7 @@ GBTVariations() {
model::decision_tree::proto::DecisionTreeTrainingConfig::
Internal::FORCE_PRESORTED);
}},
*/
};
}

Expand Down Expand Up @@ -678,12 +680,13 @@ absl::Status Benchmark_GBT_Synthetic(std::vector<Result>* results) {
.num_features = 200,
.resolution = 1000,
.use_discretized_numerical_features = true},
{.num_examples = 4'000'000, .num_features = 200},
{.num_examples = 4'000'000, .num_features = 200, .resolution = 1000},
{.num_examples = 4'000'000,
.num_features = 200,
.resolution = 1000,
.use_discretized_numerical_features = true},
// {.num_examples = 4'000'000, .num_features = 200},
// {.num_examples = 4'000'000, .num_features = 200, .resolution =
// 1000},
// {.num_examples = 4'000'000,
// .num_features = 200,
// .resolution = 1000,
// .use_discretized_numerical_features = true},
}) {
for (const auto& strategy : GBTVariations()) {
// Configure benchmark.
Expand Down

0 comments on commit 946e522

Please sign in to comment.