Building a bankruptcy risk prediction model