Skip to content

Commit

Permalink
add pairs back
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Dec 26, 2024
1 parent fd3ae60 commit 7d2323c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions shared/libebm/tests/boosting_unusual_inputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2078,17 +2078,17 @@ static double RandomizedTesting(const AccelerationFlags acceleration) {
FeatureTest(10, true, true, true),
};
auto terms = MakeMains(features);
//terms.push_back({0, 0});
//if(2 <= features.size()) {
// terms.push_back({0, 1});
// terms.push_back({1, 0});
//}
//if(3 <= features.size()) {
// // terms.push_back({0, 1, 2}); // TODO: enable when fast enough
//}
//if(4 <= features.size()) {
// // terms.push_back({0, 1, 2, 3}); // TODO: enable when fast enough
//}
terms.push_back({0, 0});
if(2 <= features.size()) {
terms.push_back({0, 1});
terms.push_back({1, 0});
}
if(3 <= features.size()) {
// terms.push_back({0, 1, 2}); // TODO: enable when fast enough
}
if(4 <= features.size()) {
// terms.push_back({0, 1, 2, 3}); // TODO: enable when fast enough
}

std::vector<IntEbm> boostFlagsAny{
TermBoostFlags_PurifyGain,
Expand Down

0 comments on commit 7d2323c

Please sign in to comment.