Predicting bugs in software using machine learning