Business problem
A lender has to decide, for every business loan, how likely that borrower is to default. The file already contains the facts: revenue, profit, debt, assets, cash flow, loan size, credit score, debt-to-income, recent delinquencies, and years in business.
Reading those facts one file at a time is slow, and two reviewers can weigh the same numbers differently. The book also needs a stored score so a later question can find the latest result for a customer, an industry, or a risk cutoff.
The label used here is a teaching target: 0 means Good and 1 means Bad. A live book would use the institution’s own default policy. The risk bands below 5%, from 5% to 10%, through 20%, and above 20% are settings of this project.