DummyClassifier fit is not considering target_train because of input data count issue

DummyClassifier fit is not considering target_train because of input data count issue when considering > 50K for constant prediction. Please help.

Could reformulate your question. I do not understand it.

Do not hesitate to provide some code snippets to illustrate the issue.

correct, because it compares every value of the prediction to ’ >50K’ so target_train is no taken into account. It’s like having a target_train of all ’ >50K’