removed check for LeavesEstimationIterations==1U
@@ -420,8 +420,6 @@ void NCatboostOptions::TCatBoostOptions::Validate() const {
{
CB_ENSURE(leavesEstimation != ELeavesEstimation::Newton,
"Newton leave estimation method is not supported for " << lossFunction << " loss function");
- CB_ENSURE(ObliviousTreeOptions->LeavesEstimationIterations == 1U,
- "gradient_iterations should equals 1 for this mode");
}
CB_ENSURE(!(IsPlainOnlyModeLoss(lossFunction) && (BoostingOptions->BoostingType == EBoostingType::Ordered)),
