An introduction to credit scoring