Is there any way to handle issue of class imbalance when using histGradient boosting. A problem I have has 97% class 1 and 3% class 0. Histgradient gives accuracy 97% even when using cross validation to select best_params using randomized search and cross validation for evaluation - but thats no better than dummy classifier with “most frequent” strategy!??
thank you