The PDF gives every process as Altair AI Studio 2026.1.1 exported it after the run, with the results views and their confusion matrices. Beneath each is a drawing generated from the .rmp file, with its kept parameters and the training and testing subprocesses of each Cross Validation. It is written for a reader who does not use RapidMiner.

The German Credit RapidMiner workflow, drawn from the
process files
The workflow has seven processes, one per stage of the course's eight step method. Every process was opened and run in Altair AI Studio 2026.1.1 (Educational)
on 2026-10-15 and again on 2026-10-18, after every learner's settings were swept in AI Studio (process 04 ran again after the decision tree and gradient boosted
trees were swept). The exported pictures and the results views are from 2026-10-18. Each process is given as AI Studio exported it, with its results views, and as a
drawing generated from its .rmp file. In the drawings, boxes are operators with their names and the parameters that matter, and arrows are the wiring. Each Cross
Validation operator carries two inner subprocesses, training and testing, drawn with their own ports. Every seedable operator carries seed 2026, and the last
operator of each process carries the author's initials and the seed.
learner repository in or out cross validation cost based cutoff performance apply or group models
Process Operators What it is for
01_audit_and_prepare.rmp 7 The process covers steps 2 and 3. It reads the book's file as it is, sets aside the observation number and the four protected
attributes, and remaps the target to good and bad with good as the positive class.
02_partition.rmp 4 The process covers step 4. It splits the data into 800 modeling records and 200 holdout records, stratified with seed 2026, before
anything is fitted. The holdout is used once, in process 06.
03_baseline_and_logistic.rmp 21 The process begins steps 5 to 7. It prices the naive baseline with the cost table and cross validates the first real model, logistic
regression, on the 800 records at the cost based cutoff, with the codes as numbers and, for comparison, one-hot.
04_tournament.rmp 42 The process covers steps 5 and 6. It cross validates five more model families on the same 800 records with the same folds and
the same cutoff, sends each one's performance and its cost to the results, and the operators hold the kept settings.
05_neural_network.rmp 10 The process covers step 6 and the required entrant. It fits normalization inside each fold, groups it with a one hidden layer
network, and cross validates and scores the network at the same cutoff.
06_chosen_model_costs_holdout.rmp 14 The process covers steps 7 and 8. It refits logistic regression on the 800 records, stores it for deployment, scores it once on the
200 holdout records with the cost table, and builds the book's profit lift from PROFIT per record sorted by confidence(good).
07_score_new_applicant.rmp 5 The process puts step 8 in operation. The stored model scores one applicant, and the cutoff turns the probability into accept or
reject. This is the live scoring moment.
German Credit, workflow, page 1
01 Audit and prepare (01_audit_and_prepare.rmp)
The process covers steps 2 and 3. It reads the book's file as it is, sets aside the observation number and the four protected attributes, and remaps the target to good
and bad with good as the positive class.
As it appears in Altair AI Studio 2026.1.1 (exported from the Design view after the process ran)
The same process drawn from the .rmp file, with its kept parameters
Operator Why it is there
Retrieve GermanCredit The operator reads the book's GermanCredit.csv, which was imported once into the repository.
Set aside OBS# and the protected attributes Sex and marital status (the three MALE flags) and foreign worker status (FOREIGN) cannot be a basis for a credit decision.
They stay in the data file for the fairness check and leave the model.
German Credit, workflow, page 2
Map true to good, false to bad The book says to remap the target so the positive class reads good and every result reads meaningfully.
The process sends the output of the Store prepared TPS 2026 operator to the results view.
German Credit, workflow, page 3
02 Partition (02_partition.rmp)
The process covers step 4. It splits the data into 800 modeling records and 200 holdout records, stratified with seed 2026, before anything is fitted. The holdout is
used once, in process 06.
As it appears in Altair AI Studio 2026.1.1 (exported from the Design view after the process ran)
German Credit, workflow, page 4
The same process drawn from the .rmp file, with its kept parameters
Operator Why it is there
Split 80 20 The operator keeps 800 records for modeling, where cross validation chooses the model, and holds out 200, stratified so both
carry 70 percent good credits. The split uses seed 2026, so it reproduces.
The process sends the output of the Store modeling operator and the output of the Store holdout TPS 2026 operator to the results view.
German Credit, workflow, page 5
03 Baseline and logistic regression (03_baseline_and_logistic.rmp)
The process begins steps 5 to 7. It prices the naive baseline with the cost table and cross validates the first real model, logistic regression, on the 800 records at the
cost based cutoff, with the codes as numbers and, for comparison, one-hot.
As it appears in Altair AI Studio 2026.1.1 (exported from the Design view after the process ran)
German Credit, workflow, page 6
The same process drawn from the .rmp file, with its kept parameters
Results view in AI Studio after the run
German Credit, workflow, page 7
Results view in AI Studio after the run
The training subprocess inside the Cross Validation operator for Logistic Regression
German Credit, workflow, page 8
The testing subprocess inside the Cross Validation operator for Logistic Regression
The training subprocess inside the Cross Validation operator for Logistic Regression, one-hot
The testing subprocess inside the Cross Validation operator for Logistic Regression, one-hot
Operator Why it is there
Naive baseline (accept everyone) The no ML answer accepts every applicant, because the majority class is good. The cost table prices it.
Costs of accepting everyone This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
Cross Validation: Logistic Regression Five stratified folds, seed 2026, the same folds in every process.
Logistic Regression The L2 penalty lambda was swept in AI Studio over 0.0003 to 0.1, and 0.03 was kept for the best cross validated profit. The
inputs are standardized, and the coefficients are the model equation.
Threshold logistic
German Credit, workflow, page 9
An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs logistic TPS 2026 This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
Codes to categories CHK_ACCT, HISTORY, SAV_ACCT, EMPLOYMENT and JOB become categories.
One-hot codes Dummy coding gives one indicator per level of each code.
Cross Validation: Logistic Regression, one-hot Five stratified folds, seed 2026, the same folds in every process.
Logistic Regression (one-hot) The same learner and lambda 0.03 on the one-hot codes, the comparison in report section 2.
Threshold logistic one-hot An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs logistic one-hot This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
The process sends the output of the Costs of accepting everyone operator, the three outputs of the Cross Validation operator for Logistic Regression, and the two outputs of the Cross
Validation operator for Logistic Regression, one-hot to the results view.
German Credit, workflow, page 10
04 Tournament of k-NN, naive Bayes, tree, forest and boosting (04_tournament.rmp)
The process covers steps 5 and 6. It cross validates five more model families on the same 800 records with the same folds and the same cutoff, sends each one's
performance and its cost to the results, and the operators hold the kept settings.
As it appears in Altair AI Studio 2026.1.1 (exported from the Design view after the process ran)
German Credit, workflow, page 11
The same process drawn from the .rmp file, with its kept parameters
Results view in AI Studio after the run
German Credit, workflow, page 12
Results view in AI Studio after the run
The training subprocess inside the Cross Validation operator for k-NN
The testing subprocess inside the Cross Validation operator for k-NN
German Credit, workflow, page 13
The training subprocess inside the Cross Validation operator for Decision Tree
The testing subprocess inside the Cross Validation operator for Decision Tree
The training subprocess inside the Cross Validation operator for Random Forest
German Credit, workflow, page 14
The testing subprocess inside the Cross Validation operator for Random Forest
The training subprocess inside the Cross Validation operator for Gradient Boosted Trees
The testing subprocess inside the Cross Validation operator for Gradient Boosted Trees
The training subprocess inside the Cross Validation operator for Naive Bayes
German Credit, workflow, page 15
The testing subprocess inside the Cross Validation operator for Naive Bayes
Operator Why it is there
Cross Validation: k-NN Five stratified folds, seed 2026. The warning sign is a design-time check only, because Group Models hides the prediction from
it, and the run is clean.
Normalize on the fold (k-NN) Normalization is fitted inside the fold, so the means and standard deviations come from the training part only.
k-NN (k = 61) k was swept in AI Studio over 5 to 81 (report Table A7), and 61 was kept. The distance is Euclidean on normalized inputs.
Group Models (k-NN) The operator joins the preprocessing model and the learner model, so they are applied together on the test fold.
Threshold k-NN An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs k-NN This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
Cross Validation: Decision Tree Five stratified folds, seed 2026, the same folds in every process.
Decision Tree (depth 5) The maximal depth was swept in AI Studio over 2 to 10 (report Table A8), and 5 was kept, with leaves of at least 20 applicants.
Threshold tree An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs tree This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
Cross Validation: Random Forest Five stratified folds, seed 2026, the same folds in every process.
Random Forest (300 trees) Swept in AI Studio over the criterion, the depth and the leaf size (report Table A5); gini_index, depth 20 and leaves of 1 were
kept.
Threshold forest An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs forest This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
Cross Validation: Gradient Boosted Trees Five stratified folds, seed 2026, the same folds in every process.
German Credit, workflow, page 16
Gradient Boosted Trees The learning rate and depth were swept in AI Studio over 18 pairs (report Table A9), and 0.03 and 3 were kept.
Threshold boosting An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs boosting TPS 2026 This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
Cross Validation: Naive Bayes Five stratified folds, seed 2026. The warning sign is a design-time check only, because Group Models hides the prediction from
it, and the run is clean.
Discretize on the fold (naive Bayes) DURATION, AMOUNT and AGE are cut into 5 equal frequency bins on the training part only.
Naive Bayes Swept in AI Studio (report Table A6). The codes are categories and DURATION, AMOUNT and AGE are cut into 5 bins inside
each fold.
Group Models (naive Bayes) The operator joins the bins and the learner model, so they are applied together on the test fold.
Threshold naive Bayes An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs naive Bayes This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
Codes to categories (naive Bayes) Every code and flag becomes a category.
The process sends the two outputs of the Cross Validation operator for k-NN, the two outputs of the Cross Validation operator for Decision Tree, the three outputs of the Cross
Validation operator for Random Forest, the two outputs of the Cross Validation operator for Gradient Boosted Trees, and the two outputs of the Cross Validation operator for Naive
Bayes to the results view.
German Credit, workflow, page 17
05 Neural network (05_neural_network.rmp)
The process covers step 6 and the required entrant. It fits normalization inside each fold, groups it with a one hidden layer network, and cross validates and scores
the network at the same cutoff.
As it appears in Altair AI Studio 2026.1.1 (exported from the Design view after the process ran)
German Credit, workflow, page 18
The same process drawn from the .rmp file, with its kept parameters
Results view in AI Studio after the run
German Credit, workflow, page 19
Results view in AI Studio after the run
The training subprocess inside the Cross Validation operator for Neural Net
The testing subprocess inside the Cross Validation operator for Neural Net
Operator Why it is there
German Credit, workflow, page 20
Cross Validation: Neural Net The operator makes five stratified folds with seed 2026. The learner and its preprocessing are fitted on four folds and scored on
the fifth, five times; the performance vectors are averaged.
Normalize on the fold (network) Normalization is fitted inside the fold, so the means and standard deviations come from the training part only.
Neural Net (one hidden layer of 16) The Python sweep kept one hidden layer of 16. In AI Studio, 16 pairs of training cycles and learning rate were swept, and 50
cycles at 0.001 were kept. Longer training overfits and loses money.
Group Models (network) The operator joins the preprocessing model and the learner model, so they are applied together on the test fold.
Threshold network An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs network TPS 2026 This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
The process sends the three outputs of the Cross Validation operator for Neural Net to the results view.
German Credit, workflow, page 21
06 Chosen model, costs and holdout (06_chosen_model_costs_holdout.rmp)
The process covers steps 7 and 8. It refits logistic regression on the 800 records, stores it for deployment, scores it once on the 200 holdout records with the cost
table, and builds the book's profit lift from PROFIT per record sorted by confidence(good).
As it appears in Altair AI Studio 2026.1.1 (exported from the Design view after the process ran)
German Credit, workflow, page 22
The same process drawn from the .rmp file, with its kept parameters
Results view in AI Studio after the run
German Credit, workflow, page 23
Results view in AI Studio after the run
Operator Why it is there
Logistic Regression (final) After selection, the chosen model learns from all 800 modeling records, with the lambda of 0.03 kept in process 03.
Retrieve holdout The holdout is used once, in this process.
Threshold 0.8333 An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Costs holdout This is the book's opportunity cost table 23.4, with the classes ordered good, bad. The rows are the decision and the columns
the truth. Accepting a bad credit costs 500, and rejecting a good one costs 100. AI Studio 2026.1.1 confirms that accepting
everyone costs 240 x 500 = 120,000 on the 800.
Generate PROFIT The book's question 4 asks for the net profit of each holdout record.
Sort by confidence(good) The list is sorted with the best credit risks first. The cumulative PROFIT down this list is the profit lift chart; the Integrate
operator (Series extension) accumulates it, and the notebook shows the decile table.
The process sends the output of the Performance holdout operator, the output of the Costs holdout operator, the two outputs of the Lift chart TPS 2026 operator, and the output of the
Logistic Regression (final) operator to the results view.
German Credit, workflow, page 24
07 Score a new applicant (07_score_new_applicant.rmp)
The process puts step 8 in operation. The stored model scores one applicant, and the cutoff turns the probability into accept or reject. This is the live scoring
moment.
As it appears in Altair AI Studio 2026.1.1 (exported from the Design view after the process ran)
German Credit, workflow, page 25
The same process drawn from the .rmp file, with its kept parameters
Results view in AI Studio after the run
German Credit, workflow, page 26
Operator Why it is there
Retrieve new_applicant The file holds one row with the 26 attributes the model scores and no RESPONSE. The warning sign on each Retrieve is a
design-time check on the full repository path, and the run reads the path as written.
Threshold 0.8333 An applicant is accepted when p(good) is 0.8333 or higher, which is the 500 DM loss on a bad credit over the 600 DM swing
(the book's Table 23.5). Below the cutoff the model rejects and the application goes to the credit officer's queue.
Decision TPS 2026 The warning sign is a design-time check. Before the run, AI Studio cannot see the prediction that Score the applicant adds, and
the run is clean.
The process sends the output of the Decision TPS 2026 operator to the results view.
German Credit, workflow, page 27