This pull request introduces an enhancement to the xgb_early method, specifically addressing the need to handle an edge case when using the transform method without rebalancing the evaluation set. This update ensures the method can gracefully handle scenarios where the evaluation set does not require rebalancing, thus improving the robustness and flexibility of the xgb_early implementation.
This pull request introduces an enhancement to the xgb_early method, specifically addressing the need to handle an edge case when using the transform method without rebalancing the evaluation set. This update ensures the method can gracefully handle scenarios where the evaluation set does not require rebalancing, thus improving the robustness and flexibility of the xgb_early implementation.