I'm working on a binary classification problem. Say class A and B.
But the problem is that the class prior distribution of A and B is like 90% and 10%. So most of the classification algorithms I've tried, they tend to classify most of the cases class A, though the 0/1 accuracy is high but the class precision and recall for class B is horrible. How can I change this?