The report covers the problem and charter, the data and method, the tournament, the evaluation with the book's cost table, the recommendation with its monitoring plan, the responsible ML assessment and the limitations. Its appendices hold the sweeps, the cutoff sensitivity and the model equation. Every number in sections 1 to 7 and in Appendices A to D comes from results.json, the Python run, apart from Tables A3 to A9, which with section 8 come from rm_results.json, AI Studio's own runs. The planning figure, 14,250 DM per 1,000 applicants, is AI Studio's cross validation of the deployed specification, and the holdout gives two checks, 14,500 for the Python fit and 28,000 for the stored model.

CSBU 5420 MACHINE LEARNING FOR BUSINESS ANALYTICS, A WORKED FINAL PROJECT. AN EXAMPLE FROM THE BOOK, CASE 23.2, GERMAN CREDIT German Credit: whom should the bank lend to? The Project Shelf Team wrote this executive report. The run uses seed 2026 and the book's GermanCredit.csv, with 1,000 past applicants and 30 attributes. THE DECISION For every application a credit officer decides whether to accept or reject. The book puts a price on the decision. A loan to a good credit earns 100 DM on average, and a loan to a bad credit loses 500 DM. THE RESULT Logistic regression deploys at a cutoff of 0.833 (500/600; entered as 0.8333 in the AI Studio Threshold operator) on the probability of good credit. The planning figure is 14,250 DM per 1,000 applicants, from AI Studio's cross validation of the deployed specification (section 8). The holdout gives two checks. The Python fit of the same specification earns 14,500 DM per 1,000, and AI Studio's stored model, the one deployed, earns 28,000. The Python fit accepts 26.5 percent of the holdout applicants, of whom 92 percent are good credits. Accepting everyone loses 80,000 DM per 1,000. THE TOURNAMENT Seven model families were compared with five fold cross validation on 800 records. The random forest led by 1,125 DM per 1,000 applicants, under the 5,000 DM the charter set as the price of a readable equation a credit officer can defend. MONITORING The metric watched is the bad credit rate among accepted loans, quarter by quarter. The model is retrained yearly, or at once if that rate goes above 15 percent. The bank accepts a random share of applications scored just below the cutoff. If those loans repay above break even after a year, the cutoff moves to 0.75. The owner is the head of consumer credit risk. The four attributes the Equal Credit Opportunity Act forbids as a basis for credit were set aside; the model's decisions were checked against them. The eight sections cover the problem and charter, the data and method, the model tournament, the evaluation in business terms, the recommendation and monitoring plan, the responsible ML assessment, the limitations and next steps, and what RapidMiner itself produced, and Appendices A to E follow them. This package reproduces and extends the book's case. The case asks for logistic regression, trees and a neural network with the cost matrix and a profit lift chart, and the final project adds the full tournament, the deployment and monitoring plan and the responsible ML assessment.

1. Problem and charter The decision For every application, the bank's credit officer must decide whether to extend a consumer loan. Today the decision is made by judgment, from the application form. A model that ranks applicants by their probability of good credit lets the bank accept the likely good ones and decline the rest. Section 4 measures what the model chosen here earns on the 200 holdout applicants. It earns 14,500 DM per 1,000 applicants, which is 94,500 DM more than accepting everyone and 14,500 DM more than accepting nobody. The charter The project sentence follows the course's form. Every working day, the bank's credit officers must decide whether to accept or reject each consumer loan application. Today they decide by judgment, from the application form. If they could predict good or bad credit for each applicant, they could accept the likely good credits and decline the rest, which section 4 prices at 14,500 DM per 1,000 applicants on the holdout, 94,500 DM more than accepting everyone. The charter fixed two rules before any model was scored. The cutoff comes from the book's cost table. A model that is harder to explain than a logistic equation replaces it only if it earns at least 5,000 DM per 1,000 applicants more in cross validation, because a declined applicant is owed the principal reasons and a credit officer must be able to override the score with a stated reason. The book gives no such price, so the figure is the charter's judgment, and section 5 applies it. The charter named three risks. The labels are past judgments by the bank's own officers, the file meets the course's minimum of 1,000 records exactly, and four of its attributes cannot lawfully be a basis for credit. Four parties have a stake in the decision. The credit officer acts on the score. The head of consumer credit risk owns the book of loans. An applicant can be harmed by a loan that cannot be repaid or by a refusal that was not deserved. The regulator cares about the basis of the decision (section 6). The two error directions, priced by the book Accepting a bad credit costs 500 DM, the average net loss on a loan that goes bad. Rejecting a good credit forgoes 100 DM, the average net profit on a loan repaid. The cost of a false accept outweighs the gain of a true accept five to one (Tables 23.4 and 23.5). These are the case's figures, and the arithmetic in section 4 shows the cutoff they imply. Success is measured in money first. The business metric is net profit per 1,000 applicants on the book's table. The model metrics are the area under the ROC curve for ranking and the confusion matrix at the cost based cutoff for the decision. The task is supervised learning, a classification task. The record is one applicant, the target variable RESPONSE is good or bad credit, and the features are what the bank knows from the application and its own records. German Credit, executive report 2

2. Data and method The data come from the book. The file is GermanCredit.csv as the book distributes it, with 1,000 past applicants labelled good (700) or bad (300) by human judgment and 30 attributes coded as in the book's Table 23.3 (the dictionary is in data/README.md). The course's minimum data bar is met exactly, which shaped the partition. Data audit The file has no missing values and no duplicate rows. Every code is in the range the book's Table 23.3 gives except PRESENT_RESIDENT, which the file codes 1 to 4 where Table 23.3 lists 0 to 3; the dictionary in data/README.md gives the file's codes. Credit amounts run from 250 to 18,424 DM, durations from 4 to 72 months, ages from 19 to 75. The book asks about one finding in the data. On the 800 modeling records, applicants whose history is coded critical have a good credit rate of 84 percent, the highest of any code, while those with no credits taken sit at 36 percent. The code describes an account the bank already watches closely; the bank was lending to those applicants selectively, so the label is partly a record of its own past decisions. Each coefficient therefore describes this bank's past lending. The codes as ordered numbers or as categories The book codes CHK_ACCT, HISTORY, SAV_ACCT, EMPLOYMENT and JOB as ordered numbers, and the models keep them that way; data/README.md gives the reason for each attribute. The alternative was tested. The same logistic regression with those five codes one-hot, one indicator per level, was swept over the same values of C and kept the same way. It keeps C = 0.01. One-hot coding earns the same 15,750 DM per 1,000 out of fold as the ordered codes, with a lower AUC (0.787 against 0.795). Process 03 runs the same comparison in AI Studio with Nominal to Numerical (dummy coding) at the kept lambda of 0.03, where the one-hot codes earn 9,625 DM against 14,250 DM, 4,625 DM less. The ordered codes earn as much in Python and more in AI Studio, and they keep the equation to one term per attribute, so they stay. The leakage audit and the protected attributes The audit checked four leakage threats, and each was closed before any model was scored. The first is an attribute recorded after the decision. None is, because every attribute in the book's Table 23.3 describes the application or the bank's records at the time of application. The second is the observation number OBS#, a row identifier that could carry the order in which the file was assembled. Its AUC against RESPONSE is 0.478, and the good credit rate in its four quartiles runs from 65 to 74 percent around the overall 70 percent, so it carries no usable signal, and it is set aside before any fit all the same. The third is preprocessing fitted on records it later scores. The partition is made before anything is fitted, and normalization and the naive Bayes bins are fitted inside each training fold. The fourth is the holdout shaping a choice. The cutoff comes from the cost table, every setting was chosen by cross validation on the 800, and the holdout was scored once, after the choice. The audit set four attributes aside for a different reason. The three flags describing sex and marital status and the foreign worker flag cannot be a basis for a credit decision under the Equal Credit Opportunity Act, which the book's Loan Approval case raises. They are kept in the file for the fairness check in section 6 and excluded from every deployed model. AGE stays in the model, as the Act permits in an empirically derived scoring system, on the condition that older applicants are not scored down, which section 6 checks. German Credit, executive report 3

Exploration Good credit rates on the 800 modeling records. The checking account balance separates applicants most; a critical history reads as a good risk; applicants under 25 are the riskiest age band. Partitioning With 1,000 records a 60 / 20 / 20 split would leave a validation set of 200, where one loan is half a percent. The course allows cross validation in place of the validation set, so the data are split into 800 records for modeling and 200 held out, stratified on the target so both carry 70 percent good credits, seed 2026, made before anything was fitted. Model selection uses five stratified folds on the 800. Every entrant is fitted on four folds and scored on the fifth, five times, and the out of fold scores are priced with the cost table. Normalization and the naive Bayes bins are fitted inside each fold. The holdout is used once, for the final evaluation in section 4. 3. The model tournament Every entrant is scored out of fold at the same cost based cutoff (0.833, section 4). Settings were swept by cross validation and the kept setting is shown; the sweeps are in Appendix A. Each row is the best setting of its own sweep, scored on the same folds that chose it, so every entrant's figure leans optimistic; the holdout in section 4 is the one estimate that played no part in a choice. German Credit, executive report 4

Model Setting kept AUC Accuracy Profit per Accepted Precision Recall
at 0.5 1,000 (DM) per 1,000
Random forest min_samples_leaf = 5 0.793 0.767 16,875 274 0.936 0.366
Naive Bayes alpha = 0.5 0.776 0.745 16,250 470 0.891 0.598
Logistic C = 0.01 0.795 0.750 15,750 232 0.946 0.314
regression
Neural network hidden_layer_sizes = (16,), alpha 0.765 0.746 15,750 368 0.905 0.475
= 0.001, learning_rate_init = 0.01
Gradient learning_rate = 0.1, max_depth = 0.791 0.760 15,000 450 0.889 0.571
boosted trees 2
k-nearest n_neighbors = 61 0.776 0.714 13,750 175 0.964 0.241
neighbors
Decision tree max_depth = 3 0.713 0.710 7,500 360 0.868 0.446
Accept none 0.500 0.700 -80,000 1,000 0.700 1.000
everyone (no
model)
Reject none 0.500 0.300 0 0 0.000 0.000
everyone
Net profit of every entrant on the book's cost table. Accepting everyone is the one entrant that loses money.
The naive baseline
The majority class is good, so the no model answer accepts everyone, which is 70 percent accurate and
earns -80,000 DM per 1,000 applicants. Rejecting everyone earns nothing, so each model is judged by
what it earns above zero and above the status quo.
German Credit, executive report 5
The neural network
The network was swept over 24 settings, its layers, the L2 penalty alpha and the initial learning rate (Table
A1), on normalized inputs with early stopping. It keeps hidden_layer_sizes = (16,), alpha = 0.001,
learning_rate_init = 0.01. Its AUC is 0.765 and its profit 15,750 DM, the same as the logistic model on the
same folds, with a lower AUC; it finishes behind the random forest and naive Bayes and ahead of gradient
boosted trees, k-NN and the decision tree. At the learning rate of 0.001, eight of the 24 settings stop early
and accept fewer than 100 applicants per 1,000. With 800 records the network does not improve on the
logistic equation, and on a tie the charter prefers the equation. The AI Studio network operator has no early
stopping, so its training cycles and learning rate were swept in AI Studio itself (section 8 and Table A4).
The coefficient narrative
Holding everything else constant, each step up the checking account code (from below zero, to 0 to 200
DM, to above 200 DM, to no account) multiplies the odds of good credit by 1.43; a guarantor multiplies
them by 1.78; each extra month of duration multiplies them by 0.983. The checking account code is
ordered the way the bank coded it, and its top code is no account at all, which carries the best odds. The
coefficient applies to each step of the code, and it describes this bank's applicants in the early 1990s.
The forest ranks the checking account, the amount and the
duration as its most important variables. The forest leans on
the continuous attributes and the logistic model on the codes, Out of fold ROC curves of the seven families, by AUC: logistic
and the two agree on the top of the list. regression 0.795; random forest 0.793; gradient boosted trees
0.791; naive Bayes 0.776; k-NN 0.776; neural network 0.765;
decision tree 0.713. The cost table decided the tournament,
and on AUC the forest and the logistic model are close.
4. Evaluation in business terms
The cost matrix and the cutoff
A loan pays when the probability of good credit times 100 DM exceeds the probability of bad credit times
500 DM, which happens when p is above 0.833. Accuracy at 0.5 is on the leaderboard for completeness. At
0.5 the logistic regression accepts 875 per 1,000 and loses 40,000 DM (Table B1).
German Credit, executive report 6
Net profit by cutoff, out of fold. The curve peaks at 0.75 (16,000 DM per 1,000 applicants) against 15,750 DM at the cost table's 0.833. The cutoff stays at 0.833, because one loan changing sides on 800 records would close the gap. The book's question 4b asks for this number. Why the cutoff is not moved to the peak. The cost table's cutoff is the right one when the probabilities are calibrated, and it was fixed before any model was scored. Between 0.75 and 0.833 sit 170 of the 800 modeling applicants, 142 good and 28 bad, for a good rate of 83.5 percent against the 83.3 percent break even. The model declines them at 0.833. Accepting them would have earned 200 DM on the 800 records, which is the 250 DM per 1,000 gap. One loan changing sides would close it, and a good rate measured on 170 applicants carries a standard error of about 2.9 points (taken at the 83.3 percent break even rate as the square root of 0.833 times 0.167 over 170), so the band sits within one standard error of break even. Moving the cutoff to the peak of one sample's curve would fit the cutoff to that sample. The holdout points the same way, 15,500 DM per 1,000 at 0.80 against 14,500 DM at 0.833, a difference of 200 DM on 200 applicants; it was used once, to evaluate the choice already made. The cost table's cutoff assumes the probabilities are calibrated, and Appendix B checks that. In ten groups of 80 out of fold applicants sorted by predicted probability, the observed good rate is on average 6.4 points from the mean prediction (the widest gap, 14.6 points, is in group 2, far below any cutoff in play). The three groups that cover the band from 0.75 to 0.833 (0.732 to 0.844) predict 74.9, 78.7 and 82.4 percent good and observe 81.2, 80.0 and 87.5, so the model is slightly underconfident there, as a strongly penalized logistic regression tends to be, and each group is within two standard errors of its prediction. That is the same signal as the peak at 0.75, and the monitoring plan in section 5 watches this band. The holdout, used once Logistic regression was refitted on the 800 and scored on the 200 holdout applicants, with an AUC of 0.779. At the cutoff it accepts 53 of 200 (26.5 percent), 49 good and 4 bad, for a precision of 92.5 percent and a recall of 35.0 percent of the 140 good credits. German Credit, executive report 7

Decile p(good) at Good Bad Profit Cumulative
the bottom (DM)
1 0.885 18 2 800 800
2 0.858 20 0 2,000 2,800
3 0.826 18 2 800 3,600
4 0.787 15 5 -1,000 2,600
5 0.733 16 4 -400 2,200
6 0.674 16 4 -400 1,800
7 0.607 12 8 -2,800 -1,000
8 0.522 10 10 -4,000 -5,000
The holdout confusion matrix at 0.833 comes from the Python
9 0.461 9 11 -4,600 -9,600
fit. The 4 bad credits accepted cost 2,000 DM, and the 49 good
ones earn 4,900 DM. AI Studio's run of process 06, the 10 0.181 6 14 -6,400 -16,000
deployed model, earns 28,000 DM per 1,000 on the same 200
records with 2 bad credits accepted, accepting 34 percent of The book's question 4a asks for this table on the holdout.
applicants against 26.5 (section 8). Sorted by confidence(good), cumulative net profit peaks at
decile 3 (3,600 DM on 200 applicants) and turns negative
below decile 6. Each decile is 20 applicants, so one loan
moves a cell.
German Credit, executive report 8
The model earns more than either alternative. Per 1,000 applicants on the holdout, the model earns
14,500 DM, accepting everyone loses 80,000 DM and rejecting everyone earns nothing. On the 800 out of
fold records, where the estimate is steadier, the model earns 15,750 DM per 1,000.
The cutoff is the break even point of a single loan. An accepted loan breaks even when p times 100
DM equals (1 minus p) times 500 DM, which gives p = 0.833, the loss on a bad loan over the sum of
the loss and the gain. The cutoff moves with that ratio. If a bad loan cost three times what a good loan
earns (300 DM), the cutoff would be 0.75 and the logistic model would accept 445 applicants per
1,000 and earn 25,500 DM per 1,000 out of fold; at nine times (900 DM) the cutoff would be 0.90, with
68 accepted and 4,250 DM. Under the three to one table naive Bayes leads logistic regression by
2,125 DM per 1,000, and under the nine to one table the random forest leads by 2,500 DM, both inside
the 5,000 DM rule. The deployment decision holds across that range. Each model keeps the setting its
sweep chose under the book's five to one table.
The recommendation holds unless a bad loan costs less than about 1.6 or more than about 12
times what a good loan earns. With the cutoff left at 0.833, the holdout's 53 accepted applicants are
49 good and 4 bad, and its 147 declined ones 91 good and 56 bad. Below about 1.6 times (91 over 56),
lending to everyone earns more, because the good loans declined outweigh the bad ones avoided;
above about 12 times (49 over 4), the 4 bad loans accepted cost more than the 49 good ones earn,
and lending to no one does better. Out of fold on the 800 modeling records the same two ratios are 1.7
and 17.6. The book's five to one sits inside both ranges.
5. Recommendation and monitoring plan
Logistic regression deploys although the random forest led cross validation. The forest's lead is
1,125 DM per 1,000 applicants, 7 percent. The charter set the price of a readable model at 5,000 DM per
1,000 before the holdout was looked at, and the gap is under it. A credit decision requires what the logistic
equation provides. An applicant who is refused is entitled to the principal reasons, the regulator can ask for
the basis of any decision, and a credit officer has to be able to override the score with a reason. A logistic
equation supports all three, with one term per attribute. If the gap had been 5,000 DM or more, this section
would recommend the forest with reason codes derived from its importance and a logistic surrogate for the
adverse action notices.
One model is deployed, the H2O logistic regression that process 06 stores in AI Studio. Process 06
refits AI Studio's logistic regression, with the lambda of 0.03 kept in section 8, on the 800 modeling records
and stores it as model_logistic. Process 07 scores each new applicant with that stored model, and the
cutoff turns the probability into accept or reject. An applicant whose probability of good credit is 0.833 or
higher is accepted. An applicant below 0.833 is rejected by the model, and the application goes to the
credit officer's queue with the top three reasons, where the officer confirms the rejection or overrides it with
a stated reason. In the live scoring moment, which the recorded presentation runs on screen, a 35 year old
skilled employee asking for 3,000 DM over 24 months for a radio or television, with a small checking
balance and a paid so far history, scores 0.761. That is below 0.833, so the model rejects the application
and routes it to the credit officer's queue. At that probability the expected gain on the loan is 76.1 DM and
the expected loss 119.5 DM, so the loan is worth about -43 DM, and declining it protects the bank. The
German Credit, executive report 9
Python fit of the same specification, which produced the numbers in sections 1 to 7 and the equation in
Appendix C that the Try it panel uses, scores the same applicant at 0.724, and it also rejects. With no
checking account, a critical history, 12 months and no savings account, the Python fit scores the applicant
at 0.941 and accepts.
Monitoring plan
Metric watched The check watches the bad credit rate among accepted loans, by quarter of
origination, as loans season (on the holdout, 4 of 53, or 7.5 percent), and it watches
the acceptance rate.
Drift signal Input drift shows at once, when the distribution of checking account codes, amounts
and durations of new applications moves away from the modeling records (a shift of
more than 10 points in the share with no checking account). Concept drift shows as
loans season, when the bad rate among accepted loans rises for two quarters in a
row.
Cutoff check The bank accepts a random share of applications scored just below the cutoff,
between 0.75 and 0.833, the band section 4 examines and section 6 budgets for. If
those loans repay above break even after a year, the cutoff moves to 0.75.
Retraining trigger and cadence The model is retrained yearly on the latest labelled applications, or at once if the bad
rate among accepted loans exceeds 15 percent for any quarter with at least 200
loans.
Owner The owner is the head of consumer credit risk, named in the bank's version of this
report.
6. Responsible ML assessment
Source and consent
The applicants are anonymous and the labels are the bank's own judgments. The labels inherit that
judgment's habits, and the critical history finding in section 2 is one of them. A model trained on them
learns the bank's past practice, including whatever was unfair in it.
Who could this model harm, and how it was checked
The model could harm a good applicant by refusing the loan, and it could harm a protected group by
refusing its members more often. The model's out of fold decisions on the 800 were compared across age
bands, across the foreign worker flag and across the sex and marital status flags, none of which the model
can see except age.
German Credit, executive report 10
Table 6.1. Out of fold decisions on the 800 modeling records, by group Group Applicants Good credit, % Accepted, % Precision, % Recall, % under 25 121 56.2 9.1 90.9 14.7 25 to 39 433 70.9 20.3 94.3 27.0 40 to 59 202 75.2 33.7 95.6 42.8 60 and over 44 75.0 43.2 94.7 54.5 foreign worker 25 96.0 36.0 100.0 37.5 not a foreign worker 775 69.2 22.8 94.3 31.2 male (any flag) 551 72.8 25.1 95.7 32.9 no male flag (female or not stated) 249 63.9 19.3 91.7 27.7 Acceptance rises with age (9 percent under 25, 43 percent at 60 and over) and so does the good credit rate (56 percent against 75 percent); older applicants are not scored down, which is the Act's condition for using age. Foreign workers are accepted more often than others (36 percent against 23 percent) with a good credit rate of 96 percent, on only 25 applicants. Applicants with no male flag are accepted at 19 percent against 25 percent, with a precision of 91.7 percent against 95.7, a gap of 4.0 points, which is about two of the 48 loans accepted in the smaller group. The disparity tracks the base rates in the bank's own labels; whether those labels were fair is the question the data cannot answer. The cost of excluding the protected attributes. The same logistic model with the four protected attributes included was swept over the same values of C as the deployed model (0.003, 0.01, 0.03, 0.1, 1, 10) and its setting kept the same way, by cross validated profit. It keeps C = 1 and earns 17,375 DM per 1,000 against 15,750 DM for the deployed specification at C = 0.01. The bank gives up the difference of 1,625 DM per 1,000 applicants, about three bad loans' losses (500 DM each) per 1,000, because the law and the bank's own standards say so. At the deployed model's own C = 0.01 the gap is 0 DM. The number is reported to show that the decision has a cost, and the decision stands at that cost. A declined applicant is owed the reasons for the decision. The applicant receives the principal reasons for the decision; the logistic equation produces them as the terms that pull that applicant furthest below the average applicant (coefficient times the value minus the modeling mean), as the Try it panel shows, which is also why it deploys over the forest. Failure modes and mitigations The model is a description of one bank's applicants three decades ago in a currency that no longer exists; it is a teaching case and would be rebuilt on the bank's current book before use. The labels are human judgments, so the model can only be as fair as the officers were; Table 6.1 should be re-run on every retraining and shown to the owner. The score is not the whole decision for a rejection, because every application the model rejects goes to the credit officer's queue. Once the model is deployed, only accepted applicants produce repayment outcomes, so every retraining learns from a sample the model itself selected and never sees how the declined applicants would have repaid. The bank should accept a small random share of the applications the model scores between 0.75 and 0.833, within a set loss budget, so German Credit, executive report 11

the bank keeps observing outcomes for declined applicants. This is the cutoff check of the monitoring plan
in section 5.
7. Limitations and next steps
One thousand records is the floor the course sets, and the holdout is 200 applicants, so the holdout profit
moves by thousands of Deutsche Marks per 1,000 when a handful of loans change sides (Appendix B
shows the holdout earning 15,500 DM per 1,000 at 0.80 and 7,000 DM at 0.90, against 14,500 DM at
0.833). The out of fold curve peaks at 0.75, by 250 DM per 1,000, a gap that one loan changing sides would
close; section 4 keeps the cost table's cutoff for that reason and names the check that would move it. The
extension the course asks of a textbook case is the full spine around it, which here means the tournament,
the deployment rule, the monitoring plan and the fairness check. The next extension would be a second
data source, such as the bank's current applications, to test whether the equation transfers. The codes
were kept as the book keeps them, and section 2 shows that one-hot codes earn no more; a monotone
constraint on the ordered codes, or bins learned from the data, is the next modeling change to try. An
AutoML challenger was not run. If one were run, it would be disclosed and interpreted beside the
processes, which would stay.
8. What RapidMiner itself produced
The seven processes were run in Altair AI Studio 2026.1.1 (Educational) on 2026-10-15 and again on
2026-10-18, after the sweeps described below changed the settings in processes 03 to 06. Each run went
first through the headless batch runner and then through the Design view, where every process picture in
process/workflow.pdf was exported. The engine's own performance vectors were written to files and priced
with the same table, and each Cross Validation's Performance (Costs) result was checked against its
confusion counts. In Performance (Costs) the rows are the decision and the columns the truth. Accepting
everyone cost 240 x 500 = 120,000 DM on the 800 modeling records, which pinned the orientation.
Model Python, profit per Python, RapidMiner, profit per RapidMiner, RapidMiner
1,000 (DM) accepted 1,000 (DM) accepted precision, %
Random forest 16,875 274 13,500 202 94.4
Naive Bayes 16,250 470 12,750 450 88.1
Logistic 15,750 232 14,250 352 90.1
regression
Neural network 15,750 368 16,625 346 91.3
Gradient 15,000 450 15,875 384 90.2
boosted trees
k-nearest 13,750 175 9,125 159 92.9
neighbors
Decision tree 7,500 360 6,625 449 85.8
German Credit, executive report 12
Seven learners were swept in AI Studio itself, because they differ from their scikit-learn counterparts. The H2O logistic regression takes an L2 penalty lambda in place of scikit-learn's C, and the first run used no penalty. Its sweep over lambda from 0.0003 to 0.1 kept 0.03, which earns 14,250 DM per 1,000 out of fold against 10,625 DM without a penalty (Table A3). The AI Studio network has no early stopping, and the first run's 300 cycles at a learning rate of 0.01 overfit, accepting 635 applicants per 1,000 and losing 13,000 DM. Its sweep over 16 pairs of training cycles and learning rate kept 50 cycles at 0.001, which earns 16,625 DM (Table A4); seven of the 16 settings earn between 11,000 DM and 16,625 DM, so its figure is the best of a noisy sweep and leans optimistic. The forest operator first ran with gain ratio splits and a depth of 10 and earned 7,875 DM. Its sweep over the criterion, the depth and the leaf size (24 settings, Table A5) kept the Gini index, a depth of 20 and leaves of 1, which earns 13,500 DM; deeper and unbounded trees earn the same, because no tree grows past depth 20 on 640 training records, and a leaf of 1 is the smallest the operator allows. Naive Bayes on the codes as numbers models each with a normal density and earned 2,875 DM. With the codes as categories and DURATION, AMOUNT and AGE cut into equal frequency bins inside each fold, as the Python run does, it keeps 5 bins and earns 12,750 DM (Table A6). Fewer and more bins earn less, AI Studio refuses 8 bins because DURATION has too few distinct values, and the Laplace correction changes nothing, because every category appears in every training fold. k-NN keeps k = 61, as the Python run does, and earns 9,125 DM (Table A7). The decision tree first ran at the Python run's depth of 3 and earned 6,500 DM. Its sweep over the maximal depth from 2 to 10 (Table A8) keeps 5, which earns 6,625 DM; 6, 8, 10 earn the same with a lower AUC, because pruning and the leaf size of 20 stop the tree before it grows deeper. Gradient boosted trees first ran at a learning rate of 0.1 and a depth of 2 and earned 12,000 DM. Their sweep over 18 pairs of learning rate and depth (Table A9) keeps a learning rate of 0.03 and a depth of 3, which earns 15,875 DM; 0.03 at depth 2 earns the same with a lower AUC. Higher learning rates overfit and accept more applicants. The two toolchains agree on the decision and differ on the numbers, as the methods note said they would. In AI Studio's cross validation the neural network leads the logistic regression by 2,375 DM per 1,000, under the 5,000 DM rule, so logistic regression deploys in both. The two logistic regressions earn 14,250 DM per 1,000 out of fold in AI Studio and 15,750 DM in Python, accepting 352 and 232 applicants per 1,000, because scikit-learn's C = 0.01 is the stronger penalty and pulls more probabilities below the cutoff. On the holdout the deployed model, AI Studio's logistic regression, accepts 68 of the 200 where the Python fit accepts 53. It accepts 66 good and 2 bad credits against 49 and 4, and earns 28,000 DM per 1,000 applicants against 14,500; the 17 more good loans and 2 fewer bad ones make the gap of 2,700 DM on 200 records. The cross validated fits of the same specification earn 14,250 DM per 1,000 out of fold, and the stored model earns 28,000 on the holdout, with an AUC of 0.765 out of fold against 0.865 on the holdout. On 200 records the holdout figure is a favourable draw, so the cross validated 14,250 DM is the planning number. After their sweeps the forest, naive Bayes and k-NN accept 159 to 450 applicants per 1,000 in AI Studio against 175 to 470 in Python, where before them the range was 131 to 561, a reminder that a cutoff on confidence depends on how each implementation calibrates it. The new applicant scores 0.761 in AI Studio against 0.724 in Python, and both models reject the application. Where the processes hold the kept settings, and where they differ Each kept setting sits in the parameters of the learner inside its Cross Validation operator, and the operator's description names the sweep. H2O's logistic regression keeps an L2 penalty lambda of 0.03, where scikit-learn kept C = 0.01, also an L2 penalty, and both fit standardized inputs. The random forest German Credit, executive report 13

operator grows 300 trees on the Gini index with a maximal depth of 20, leaves of 1, prepruning at a minimal gain of 0.01 and a guessed subset of attributes at each split; scikit-learn's forest grows 300 trees on the Gini criterion with no depth limit, the square root of the attribute count at each split and min_samples_leaf = 5. Naive Bayes treats every code as a category in both, and cuts DURATION, AMOUNT and AGE into 5 bins inside each fold, equal frequency in AI Studio and quantiles in scikit-learn; AI Studio's Laplace correction is on, and scikit-learn kept alpha = 0.5. The neural network operator trains 50 cycles at a learning rate of 0.001 with momentum 0.9 and one hidden layer of 16, where scikit-learn keeps hidden_layer_sizes = (16,), alpha = 0.001, learning_rate_init = 0.01 with early stopping. k-NN keeps k = 61 in both. AI Studio's decision tree keeps a depth of 5 with leaves of 20, where scikit-learn kept max_depth = 3, and AI Studio's gradient boosted trees keep a learning rate of 0.03 and a depth of 3 with 200 trees, where scikit-learn kept learning_rate = 0.1, max_depth = 2, each on its own tool's splitting rules and defaults. In AI Studio's run of process 06, the stored logistic regression accepts 2 bad credits on the holdout and declines 74 good ones. German Credit, executive report 14

AI Studio exported process 07, the live scoring moment, after the run. The recorded presentation runs it on screen. German Credit, executive report 15

Appendix A. Tuning sweeps, out of fold on the 800
Table A1. Tuning sweeps of the deployable models
Model Setting AUC Profit per 1,000 Accepted per
(DM) 1,000
Logistic C = 0.003 0.7944 4,125 49
regression
Logistic C = 0.01 0.7950 15,750 232
regression
Logistic C = 0.03 0.7922 15,000 330
regression
Logistic C = 0.1 0.7874 14,375 384
regression
Logistic C=1 0.7821 11,125 419
regression
Logistic C = 10 0.7809 11,125 426
regression
k-nearest n_neighbors = 5 0.7171 5,500 310
neighbors
k-nearest n_neighbors = 11 0.7410 9,500 260
neighbors
k-nearest n_neighbors = 21 0.7466 11,250 255
neighbors
k-nearest n_neighbors = 41 0.7699 11,375 174
neighbors
k-nearest n_neighbors = 61 0.7760 13,750 175
neighbors
k-nearest n_neighbors = 81 0.7762 10,500 135
neighbors
Naive Bayes alpha = 0.25 0.7759 15,625 464
Naive Bayes alpha = 0.5 0.7762 16,250 470
Naive Bayes alpha = 1 0.7764 16,125 484
Naive Bayes alpha = 3 0.7758 12,625 554
Decision tree max_depth = 2 0.6835 6,875 376
Decision tree max_depth = 3 0.7133 7,500 360
Decision tree max_depth = 4 0.7215 5,500 378
Decision tree max_depth = 5 0.7119 5,625 371
German Credit, executive report 16
Decision tree max_depth = 6 0.7166 5,750 418
Random forest min_samples_leaf = 1 0.7935 16,375 299
Random forest min_samples_leaf = 5 0.7926 16,875 274
Random forest min_samples_leaf = 10 0.7889 14,125 239
Gradient boosted learning_rate = 0.03, max_depth = 2 0.7819 13,375 351
trees
Gradient boosted learning_rate = 0.05, max_depth = 3 0.7882 14,375 429
trees
Gradient boosted learning_rate = 0.1, max_depth = 2 0.7909 15,000 450
trees
Gradient boosted learning_rate = 0.2, max_depth = 2 0.7799 12,125 481
trees
Gradient boosted learning_rate = 0.1, max_depth = 3 0.7808 12,125 481
trees
Neural network hidden_layer_sizes = (8,), alpha = 0.0001, 0.6811 3,125 54
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (8,), alpha = 0.0001, 0.7633 14,000 335
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (8,), alpha = 0.001, 0.6811 3,125 54
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (8,), alpha = 0.001, 0.7633 14,000 335
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (8,), alpha = 0.01, 0.6870 4,125 64
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (8,), alpha = 0.01, 0.7632 13,875 334
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (8,), alpha = 0.1, 0.6872 4,125 64
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (8,), alpha = 0.1, 0.7633 13,875 334
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (16,), alpha = 0.0001, 0.7573 13,625 286
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (16,), alpha = 0.0001, 0.7647 15,625 366
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (16,), alpha = 0.001, 0.7572 13,625 286
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (16,), alpha = 0.001, 0.7648 15,750 368
learning_rate_init = 0.01
German Credit, executive report 17
Neural network hidden_layer_sizes = (16,), alpha = 0.01, 0.7573 13,500 285
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (16,), alpha = 0.01, 0.7649 15,625 366
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (16,), alpha = 0.1, 0.7573 13,500 285
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (16,), alpha = 0.1, 0.7650 15,500 365
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (16, 8), alpha = 0.0001, 0.6887 2,750 35
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (16, 8), alpha = 0.0001, 0.7604 13,750 415
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (16, 8), alpha = 0.001, 0.6887 2,750 35
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (16, 8), alpha = 0.001, 0.7559 14,500 385
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (16, 8), alpha = 0.01, 0.6887 2,750 35
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (16, 8), alpha = 0.01, 0.7541 14,000 388
learning_rate_init = 0.01
Neural network hidden_layer_sizes = (16, 8), alpha = 0.1, 0.6890 2,750 35
learning_rate_init = 0.001
Neural network hidden_layer_sizes = (16, 8), alpha = 0.1, 0.7628 14,000 395
learning_rate_init = 0.01
The logistic model with the four protected attributes included (section 6) is not deployable. Table A2 gives its sweep over C on
the same folds.
Table A2. Logistic regression with the four protected attributes included
Setting AUC Profit per 1,000 (DM) Accepted per 1,000
C = 0.003 0.8003 5,125 59
C = 0.01 0.8029 15,750 232
C = 0.03 0.8013 14,500 340
C = 0.1 0.7982 16,375 396
C=1 0.7924 17,375 429
C = 10 0.7896 15,625 434
Each setting is named by its scikit-learn parameter. C is the inverse regularization strength of the logistic regression.
n_neighbors is the number of neighbors in k-NN, on standardized inputs. alpha is the naive Bayes smoothing, with
DURATION, AMOUNT and AGE in five quantile bins. max_depth is the decision tree's depth, with min_samples_leaf = 20.
min_samples_leaf is the random forest's leaf size, with n_estimators = 300 and max_features = sqrt. learning_rate and
German Credit, executive report 18
max_depth belong to gradient boosted trees, with max_iter = 200. hidden_layer_sizes, alpha and learning_rate_init belong to
the network (its layers, its L2 penalty and its initial learning rate), with early stopping.
Table A3. AI Studio's sweep of the H2O logistic regression penalty, out of fold on the 800
Lambda AUC Profit per 1,000 (DM) Accepted per 1,000
0 0.7658 10,625 384
0.0003 0.7658 10,625 384
0.001 0.7658 10,625 384
0.003 0.7658 10,625 384
0.01 0.7654 13,750 370
0.03 0.7647 14,250 352
0.1 0.7667 12,125 249
Table A4. AI Studio's sweep of the network's training, out of fold on the 800
Training cycles Learning rate AUC Profit per 1,000 (DM) Accepted per 1,000
25 0.001 0.7778 6,000 75
25 0.003 0.7718 14,500 385
25 0.01 0.7589 11,750 410
25 0.03 0.7299 2,000 508
50 0.001 0.7761 16,625 346
50 0.003 0.7656 11,875 404
50 0.01 0.7405 9,375 469
50 0.03 0.7249 -3,875 569
100 0.001 0.7682 11,000 402
100 0.003 0.7554 15,125 406
100 0.01 0.7151 -4,500 540
100 0.03 0.7134 -7,625 614
300 0.001 0.7562 15,500 402
300 0.003 0.7057 -2,625 529
300 0.01 0.6968 -13,000 635
300 0.03 0.6981 -11,375 636
German Credit, executive report 19
Table A5. AI Studio's sweep of the random forest, out of fold on the 800 (300 trees) Criterion Maximal depth Minimal leaf size AUC Profit per 1,000 (DM) Accepted per 1,000 gain ratio 5 1 0.7566 125 1 gain ratio 5 5 0.7594 750 8 gain ratio 5 10 0.7618 2,125 21 gain ratio 10 1 0.7658 7,625 121 gain ratio 10 5 0.7678 7,875 131 gain ratio 10 10 0.7683 6,875 106 gain ratio 20 1 0.7718 10,625 189 gain ratio 20 5 0.7682 8,750 148 gain ratio 20 10 0.7678 7,375 111 Gini index 5 1 0.7697 7,000 92 Gini index 5 5 0.7724 7,250 88 Gini index 5 10 0.7719 6,875 84 Gini index 10 1 0.7797 12,875 204 Gini index 10 5 0.7787 10,750 182 Gini index 10 10 0.7787 7,500 150 Gini index 20 1 0.7781 13,500 202 Gini index 20 5 0.7776 10,750 190 Gini index 20 10 0.7788 7,500 150 Gini index 40 1 0.7781 13,500 202 Gini index 40 2 0.7785 12,375 214 Gini index no limit 1 0.7781 13,500 202 Gini index no limit 2 0.7785 12,375 214 gain ratio 40 1 0.7711 10,875 191 gain ratio no limit 1 0.7711 10,875 191 German Credit, executive report 20

Table A6. AI Studio's sweep of naive Bayes, out of fold on the 800
Codes and DURATION, AMOUNT, AGE Laplace correction AUC Profit per 1,000 (DM) Accepted per 1,000
numbers, normal density on 0.7325 2,875 561
categories, 3 bins on 0.7585 9,125 444
categories, 4 bins on 0.7631 11,375 451
categories, 5 bins on 0.7617 12,750 450
numbers, normal density off 0.7325 2,875 561
categories, 3 bins off 0.7585 9,125 444
categories, 4 bins off 0.7631 11,375 451
categories, 5 bins off 0.7617 12,750 450
categories, 6 bins on 0.7581 10,000 445
categories, 7 bins on 0.7667 12,375 469
categories, 8 bins on refused by AI Studio
Table A7. AI Studio's sweep of k-NN, out of fold on the 800 (normalized inside each fold)
k AUC Profit per 1,000 (DM) Accepted per 1,000
5 0.6506 1,625 294
11 0.7177 8,500 250
21 0.7237 7,375 246
41 0.7305 7,250 148
61 0.7358 9,125 159
81 0.7487 7,000 122
Table A8. AI Studio's sweep of the decision tree, out of fold on the 800 (gain ratio, leaves of 20)
Maximal depth AUC Profit per 1,000 (DM) Accepted per 1,000
2 0.6655 6,500 440
3 0.6701 6,500 440
4 0.6694 6,500 440
5 0.6727 6,625 449
6 0.6724 6,625 449
8 0.6724 6,625 449
10 0.6724 6,625 449
German Credit, executive report 21
Table A9. AI Studio's sweep of gradient boosted trees, out of fold on the 800 (200 trees)
Learning rate Maximal depth AUC Profit per 1,000 (DM) Accepted per 1,000
0.01 2 0.7483 10,875 206
0.01 3 0.7621 12,000 262
0.01 4 0.7695 12,375 304
0.02 2 0.7648 11,375 279
0.02 3 0.7735 14,000 342
0.02 4 0.7762 13,250 380
0.03 2 0.7699 15,875 324
0.03 3 0.7773 15,875 384
0.03 4 0.7730 14,500 415
0.05 2 0.7706 13,000 370
0.05 3 0.7697 13,125 431
0.05 4 0.7724 12,500 462
0.1 2 0.7676 12,000 428
0.1 3 0.7657 8,375 489
0.1 4 0.7680 6,500 530
0.2 2 0.7497 4,000 468
0.2 3 0.7531 750 540
0.2 4 0.7580 1,625 594
Tables A3 to A9 come from AI Studio's own performance files (rm_results.json), on the same folds and at the same cutoff as
processes 03 to 05. A lambda of 0 is the first run's logistic regression without a penalty. The network has one hidden layer of 16
and momentum 0.9 throughout. The highlighted row of Tables A5 to A9 is the setting each process holds; the bins of Table A6
are fitted inside each training fold.
German Credit, executive report 22
Appendix B. Cutoff sensitivity
These rows are logistic regression, out of fold on the 800. The curve peaks at 0.75, and section 4 gives the reason the cutoff
stays at 0.833.
Table B1. Cutoff sensitivity, out of fold on the 800
Cutoff Profit per 1,000 (DM) Accepted per 1,000 Precision, % Recall, %
0.5 -40,000 875 75.7 94.6
0.6 -9,500 738 81.2 85.5
0.7 11,375 571 86.7 70.7
0.75 16,000 445 89.3 56.8
0.8 15,750 322 91.5 42.1
0.833 15,750 232 94.6 31.4
0.85 14,375 181 96.5 25.0
0.9 5,250 68 96.3 9.3
0.95 125 1 100.0 0.2
Table B2 scores the same model on the 200 holdout applicants, where neighboring rows differ by a handful of loans.
Table B2. Cutoff sensitivity on the 200 holdout applicants
Cutoff Profit per 1,000 (DM) Accepted per 1,000
0.5 -33,500 835
0.6 -4,500 705
0.7 11,000 560
0.8 15,500 365
0.833 14,500 265
0.9 7,000 70
German Credit, executive report 23
The calibration check compares predicted and observed rates. The logistic model's out of fold probabilities on the 800 are
sorted into ten groups of 80, and each group's mean predicted probability of good credit is set against the share that was good.
The mean absolute gap is 6.4 points.
Group Predicted p(good) Applicants Mean predicted, % Observed good, %
1 0.184 to 0.473 80 38.5 28.7
2 0.474 to 0.556 80 52.1 37.5
3 0.557 to 0.628 80 59.0 56.2
4 0.628 to 0.684 80 65.7 61.3
5 0.684 to 0.731 80 70.9 76.2
6 0.732 to 0.767 80 74.9 81.2
7 0.768 to 0.806 80 78.7 80.0
8 0.806 to 0.844 80 82.4 87.5
9 0.844 to 0.884 80 86.4 93.8
10 0.885 to 0.961 80 91.0 97.5
German Credit, executive report 24
Appendix C. The model equation Log odds of good credit = -0.044 plus the sum of coefficient times value for the 26 attributes of Table C1, in the book's codes and units, sorted by standardized effect. AMOUNT enters in thousands of Deutsche Marks, so its coefficient is per 1,000 DM. Positive means safer. For the applicant in Appendix D, with AMOUNT entered as 3.0, the terms sum to 0.964, and 1 / (1 + e-0.964) = 0.724. Table C1. The model equation, sorted by standardized effect Attribute Coefficient per unit Odds multiplier per unit Standardized CHK_ACCT +0.3545 1.425 +0.444 HISTORY +0.2329 1.262 +0.255 SAV_ACCT +0.1461 1.157 +0.233 DURATION -0.0168 0.983 -0.200 AMOUNT (per 1,000 DM) -0.0486 0.953 -0.135 USED_CAR +0.4473 1.564 +0.134 GUARANTOR +0.5776 1.782 +0.127 AGE +0.0105 1.011 +0.122 NEW_CAR -0.2685 0.765 -0.113 INSTALL_RATE -0.0964 0.908 -0.107 OTHER_INSTALL -0.2550 0.775 -0.100 TELEPHONE +0.1929 1.213 +0.095 REAL_ESTATE +0.1985 1.220 +0.090 EDUCATION -0.3897 0.677 -0.088 PROP_UNKN_NONE -0.2186 0.804 -0.078 RADIO/TV +0.1527 1.165 +0.069 EMPLOYMENT +0.0560 1.058 +0.067 RENT -0.1746 0.840 -0.066 OWN_RES +0.1361 1.146 +0.061 CO-APPLICANT -0.1944 0.823 -0.039 JOB -0.0538 0.948 -0.035 RETRAINING -0.1134 0.893 -0.034 FURNITURE +0.0606 1.063 +0.023 PRESENT_RESIDENT -0.0186 0.982 -0.020 NUM_DEPENDENTS +0.0137 1.014 +0.005 NUM_CREDITS -0.0068 0.993 -0.004 German Credit, executive report 25

Appendix D. The scored applicant Table D1 gives the values of the 26 attributes the model scores, in the order of the data file. AMOUNT is in Deutsche Marks here and enters the equation in thousands. Table D1. The scored applicant's 26 attributes Attribute Value Attribute Value CHK_ACCT 1 CO-APPLICANT 0 DURATION 24 GUARANTOR 0 HISTORY 2 PRESENT_RESIDENT 2 NEW_CAR 0 REAL_ESTATE 0 USED_CAR 0 PROP_UNKN_NONE 0 FURNITURE 0 AGE 35 RADIO/TV 1 OTHER_INSTALL 0 EDUCATION 0 RENT 0 RETRAINING 0 OWN_RES 1 AMOUNT 3,000 NUM_CREDITS 1 SAV_ACCT 1 JOB 2 EMPLOYMENT 3 NUM_DEPENDENTS 1 INSTALL_RATE 3 TELEPHONE 1 The probability of good credit is 0.7240, below the cutoff of 0.833, so the model rejects the application and routes it to the credit officer's queue. The scoring file data/new_applicant.csv holds these 26 attributes and no others, so process 07 never sees a protected attribute. The Python run's copy of the applicant also records the four attributes set aside under the Equal Credit Opportunity Act, which the model does not use, with the values MALE_DIV 0, MALE_SINGLE 1, MALE_MAR_or_WID 0, FOREIGN 0. Appendix E. Reproduction To reproduce the run in Altair AI Studio 2026.1.1, whose process files are RapidMiner 12.1 operator XML that it opens as they are, import data/GermanCredit.csv as GermanCredit/GermanCredit and data/new_applicant.csv as GermanCredit/ new_applicant in the Local Repository and run process/01 to 07 in order; processes 03 to 05 use the Cross Validation operator with the learner inside and the preprocessing grouped with the model. The Python supplement is notebooks/ tournament.ipynb, the run that produced every number in sections 1 to 7 and in Appendices A to D apart from Tables A3 to A9 (results/results.json). From the package folder, pip install -r notebooks/requirements.txt and then python notebooks/ tournament.py repeat that run; it reads data/GermanCredit.csv and writes results/ and figures/. The numbers in section 8 and Tables A3 to A9 come from AI Studio's own performance files (results/rm_results.json). The recorded presentation runs process 07 in AI Studio on screen. The run uses seed 2026 at every random step and takes 7.8 seconds. The methods and AI use note is a separate page in the package. German Credit, executive report 26