Adjust threshold to improve test stability.
This commit is contained in:
@@ -931,7 +931,7 @@ TEST_CASE("CategoricalMADGainWeightedBuildTest", "[DecisionTreeRegressorTest]")
|
||||
|
||||
// Make sure we get reasonable rmse.
|
||||
const double rmse = RMSE(predictions, testResponses);
|
||||
REQUIRE(rmse < 1.0);
|
||||
REQUIRE(rmse < 1.05);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user