This question already has an answer here:
Say I have two training data of email titles with 10000 entries each. One of them have 2000 ham and 8000 spam, while the other have 5000 ham and 5000 spam. Will predicting any random email with the 2:8 training data tend to go for spam? Also is this necessarily a bad training data compared to the 1:1?