Chapter 5: End-to-end credit scoring for financial applications: A real-world AI approach
The chapter introduction previews a simplified end-to-end credit-scoring workflow, from BFSI data ingestion to model deployment, without explaining its steps.
After this chapter you will be able to
- Point-in-time feature correctness. Explain how timestamps and as-of dates constrain credit-model features, and why that constraint matters.
- BFSI source cadences. Describe how core banking, near real-time approvals, and CRM or watchlist data arrive on different schedules.
- Batch and near real-time choices. Distinguish when a nightly batch is sufficient from when a lender might use partial near real-time merges.
- Credit data mart purpose. Explain why developers unify ingested data and partial merges into a credit data mart.
- Credit mart inputs and grain. Explain how a credit data mart brings together monthly usage, bureau indicators, and demographics, and state the resulting record grain and purpose.
- Credit mart batch orchestration. Describe what the example Airflow DAG produces and how it relates to the section’s broader pipeline principle.
- Production traceability and governance. Explain how lineage records, security controls, and governed data definitions make a BFSI pipeline auditable.
- Shared feature definitions. Explain how a feature store centralizes variables so different BFSI teams can reuse consistent definitions instead of rebuilding the same features in separate pipelines.
- Feature stores alongside Airflow. Distinguish the feature store’s role from Airflow and batch merges, using the section’s example of DAG tasks pushing aggregates into the store.
- Tree Ensembles for Credit Data. Explain why tree-based ensembles are a strong default for structured credit-risk data, while recognizing when deep learning may be preferable.
- Public credit-risk dataset choices. Explain why the chapter uses the American Express Default Prediction and Home Credit datasets, and identify the American Express sample as the main source for its demonstrations.
- Demonstration validation boundary. Distinguish the walkthrough’s use of cross-validation metrics from the dedicated test set or champion-challenger approach often used by BFSI teams.
- Dataset loading and verification. Describe how the pipeline loads the local BFSI dataset and checks that it is ready for exploration by displaying its dimensions and first five rows.
- Column summary for data checks. Explain how the summary function helps identify data-quality problems before cleaning.
- Sparse and categorical feature preparation. Describe the section’s initial cleaning of highly sparse and categorical columns, including why sparse columns are removed.
- Mean imputation and missingness signal. Explain why the example uses mean imputation and why that baseline choice can be problematic in credit modeling.
- WoE and IV roles. Explain that WoE puts numeric and categorical features on a common log-odds scale that is more interpretable to credit officers, while IV indicates how strongly a feature distinguishes good from bad borrowers.
- IV Results and Feature Selection. Describe how the section combines numeric and categorical features, excludes the target, and uses calculate_woe_iv to review bin-level results and select features by overall IV. Distinguish the selection threshold from the higher IV values analysts may regard as moderate to strong.
- Selected Feature WoE Representation. Explain what happens to selected features when they are WoE-coded and why the section values that representation.
- K-fold validation outputs. Explain why the section uses multiple folds and distinguish out-of-fold validation predictions from the averaged in-sample predictions. Describe what the function returns for models and feature importance.
- Strong AUC interpretation. Explain what the roughly 0.95 AUC across folds suggests and why it does not, by itself, establish readiness for deployment.
- Confusion matrix lending tradeoff. Explain what the confusion matrix at a 0.5 threshold reveals and why BFSI teams may adjust the classification threshold.
- PDO credit score conversion. Explain why BFSI teams convert default probabilities to a log-odds–based integer score and what a fixed increase means on a points-to-double-odds scale.
- Operational score cutoffs. Describe how an integer credit score fits existing bank rules and supports approve, review, and reject cutoffs, including why the costs of wrong decisions matter.
- Final model and validation. Describe how the model is finalized after cross-validation and distinguish that retraining step from additional validation used before deployment.
- Single-applicant scores and audit. Trace what single-record inference returns and explain why institutions retain supporting information about each decision.
- Credit model packaging options. Distinguish model-file exports from endpoint-based deployment and describe how each lets downstream systems use a finished credit model.
- Auditable model decision history. Explain why version control and disclaimers must accompany deployment, and describe what institutions record to make credit decisions auditable.
- Model traceability and monitoring. Explain how a model registry and production monitoring help keep a credit model auditable and observable after deployment.
- Controlled model replacement. Describe how champion-challenger comparison and rollback reduce the risk of replacing a live credit model.
- Governance beyond model deployment. Explain why technical deployment alone does not make a BFSI credit model production-ready and who must review it.
What it builds on
- Data asset layer (chapter 4) · Introduces the data asset layer concept.
- Handling special values, missing data, and outliers (chapter 4) · Earlier treatment of special values, missing data, and outliers.
- Weight of Evidence and information value (chapter 4) · The introduction to Weight of Evidence and information value.
- Binning and discretization: Fine classing vs. coarse classing (chapter 4) · The idea of binning numeric features.
- Strategy and monitoring layer (chapter 4) · Credit scoring strategy connects model output to lending actions.
Section by section
Introduction
The chapter introduction previews a simplified end-to-end credit-scoring workflow, from BFSI data ingestion to model deployment, without explaining its steps.
5.1 Data pipeline: From raw data to credit-ready marts
This section introduces why credit-scoring data pipelines must unify sources, preserve point-in-time correctness, and retain traceable lineage.
- Unified credit data foundation: Explain why an application score model needs data unified from multiple BFSI sources before training or deployment.
Why it matters: A model cannot rely on a credit-ready data foundation if relevant information remains scattered across sources. - Point-in-time feature correctness: Explain how timestamps and as-of dates constrain credit-model features, and why that constraint matters.
Why it matters: Using information that arrived after a decision would distort both model evaluation and the audit record. - Traceable pipeline lineage: Describe what production pipeline lineage records and why compliance officers need it.
Why it matters: Lineage makes changes to credit data understandable and traceable after the fact.
Key terms: credit application score (AS), BFSI sources, timestamp consistency, as-of dates, point-in-time correctness, data leakage, lineage, table ownership, column changes
5.1.1 High-level BFSI data ingestion
This section explains how BFSI data from sources with different update schedules is ingested, handled safely, and consolidated for credit analysis.
- BFSI source cadences: Describe how core banking, near real-time approvals, and CRM or watchlist data arrive on different schedules.
Why it matters: The source and arrival schedule shape what an ingestion pipeline must handle. - Raw storage and ingestion safeguards: Explain where raw BFSI data may be kept and why domain rules can be applied as it is ingested.
Why it matters: Ingestion is also a point for applying financial-domain and privacy safeguards. - Batch and near real-time choices: Distinguish when a nightly batch is sufficient from when a lender might use partial near real-time merges.
Why it matters: Not every credit workflow needs the cost and immediacy of a continuously updated pipeline. - Credit data mart purpose: Explain why developers unify ingested data and partial merges into a credit data mart.
Why it matters: The mart turns disparate ingested records into a practical starting point for credit analysis.
Key terms: core banking, near real-time streams, CRM, watchlists, cadence, data lake, daily partitioned tables, PII, ingestion, batch
5.1.2 Constructing a credit data mart for lending
This section shows how a credit data mart combines lending data into a stable user-month record and highlights basic quality, privacy, and resource-logging decisions.
- Credit mart inputs and grain: Explain how a credit data mart brings together monthly usage, bureau indicators, and demographics, and state the resulting record grain and purpose.
Why it matters: The mart gives credit models a consistent record to train on or score. - Data quality and privacy safeguards: Explain why invalid negative amounts are reset to zero where negatives are not valid, and what tokenized_kyc signifies.
Why it matters: These choices address both the reliability of risk inputs and the handling of personal information. - Pipeline resource and revision logs: Describe what the section says BFSI pipeline steps might log about computational use and revisions.
Why it matters: Resource and revision logs make the work performed and changes to the pipeline visible.
Key terms: data mart, monthly usage, bureau indicators, demographics, credit_data_mart, user-month, negative amounts, downstream risk metrics, tokenized_kyc, BFSI compliance
5.1.3 A simple batch pipeline (Airflow)
The section uses a minimal Airflow credit-data-mart example to explain why production BFSI batch pipelines need controls for reliability, traceability, security, and data definitions.
- Credit mart batch orchestration: Describe what the example Airflow DAG produces and how it relates to the section’s broader pipeline principle.
Why it matters: The DAG is an example of the data foundation a credit-scoring workflow needs, not a complete production design. - Production traceability and governance: Explain how lineage records, security controls, and governed data definitions make a BFSI pipeline auditable.
Why it matters: A credit dataset must be explainable and reviewable, not merely successfully generated. - Batch reliability and monitoring: Describe how production pipelines respond to missing inputs, differing merge frequencies, and data anomalies.
Why it matters: These safeguards help keep incomplete or anomalous data from being mistaken for normal modeling input. - Airflow ecosystem rationale: Explain why the section treats Airflow’s community adoption as relevant to BFSI tool selection.
Why it matters: In finance, choosing an orchestration tool also involves maintainability and staffing risk.
Key terms: Airflow, directed acyclic graph (DAG), credit_data_mart, disclaimers, lineage tracking, HPC usage, revision notes, encryption, role-based access control (RBAC), audit logs
5.1.4 Feature stores: Evolving from batch pipelines to reusable assets
This section explains how a feature store makes BFSI features reusable, current, and auditable while complementing batch pipelines.
- Shared feature definitions: Explain how a feature store centralizes variables so different BFSI teams can reuse consistent definitions instead of rebuilding the same features in separate pipelines.
Why it matters: Shared definitions help teams use the same meaning for a feature wherever it appears. - Versioned and auditable inputs: Describe how a feature store propagates and records changes to feature definitions, and how its lineage records help justify model inputs.
Why it matters: A lender needs to account for both the meaning and the history of the inputs behind a model decision. - Current features for scoring: Explain why a feature store can serve loan-application scoring that needs near-instant updates.
Why it matters: An application may need a recent check as well as previously prepared data when scoring a loan. - Feature stores alongside Airflow: Distinguish the feature store’s role from Airflow and batch merges, using the section’s example of DAG tasks pushing aggregates into the store.
Why it matters: The store adds reusable feature management without discarding the batch jobs an institution already runs.
Key terms: feature store, Reusability, drift, Versioning, Lineage and audits, disclaimers, HPC usage logs, Real-time serving, real-time streams, batch data
5.2 Setting the stage: Realistic data and an end-to-end credit modeling flow
This section introduces the upcoming credit-modeling exercise, moving from credit-ready data through transformations and baseline modeling toward a monitored, compliance-friendly score.
5.2.1 Why tabular modeling dominates in BFSI
This section explains why tree-based ensembles are a strong, but not universal, default for credit-risk data.
- Tree Ensembles for Credit Data: Explain why tree-based ensembles are a strong default for structured credit-risk data, while recognizing when deep learning may be preferable.
Why it matters: The data and task should guide model choice rather than a blanket preference for either trees or deep learning. - Feature Visibility and Reason Codes: Describe how the feature mix and visibility of decision-tree splits support their use in BFSI credit modeling.
Why it matters: A credit model must be usable in a setting where its decisions need to be explained.
Key terms: tabular data, tree-based ensembles, random forests, XGBoost, deep learning, high-dimensional features, sentinel-coded flags, feature splits, reason codes
5.2.2 Which datasets we’ll use and why
The section identifies the public credit-risk datasets used in the chapter, explains why they are useful stand-ins for BFSI data, and states the limits of the demonstration sample.
- Public credit-risk dataset choices: Explain why the chapter uses the American Express Default Prediction and Home Credit datasets, and identify the American Express sample as the main source for its demonstrations.
Why it matters: The dataset choice lets the chapter demonstrate realistic credit-modeling challenges without using confidential institutional data. - Demonstration sample limitations: Describe the size and location of the American Express demonstration sample and why its limited coverage should be disclosed.
Why it matters: Stating what the sample omits keeps a manageable demonstration from being mistaken for a complete institutional dataset.
Key terms: American Express Default Prediction, Home Credit, BFSI, feature engineering, ch5/train_df_sample.pkl, incomplete coverage, partial merges, HPC logs
5.2.3 Our end-to-end approach
This subsection previews the chapter’s end-to-end credit modeling workflow and the later extension to automated binning and drift checks.
5.3 Implementing a basic credit model from scratch
Introduces an XGBoost credit-scoring walkthrough and clarifies how its demonstration evaluates performance.
- Demonstration validation boundary: Distinguish the walkthrough’s use of cross-validation metrics from the dedicated test set or champion-challenger approach often used by BFSI teams.
Why it matters: It keeps the walkthrough’s validation choice distinct from other approaches used in BFSI.
Key terms: cross-validation metrics, dedicated test set, champion-challenger approach
5.3.1 Starting our BFSI pipeline
This section sets up the credit-scoring environment, loads a local BFSI dataset, and checks its shape and first rows before further exploration.
- Dataset loading and verification: Describe how the pipeline loads the local BFSI dataset and checks that it is ready for exploration by displaying its dimensions and first five rows.
Why it matters: These checks establish what data the later modeling steps will use. - Modeling libraries and warning filtering: Explain the roles of the imported libraries in the credit-scoring setup and why selected numeric warnings are filtered.
Why it matters: The setup makes the tools available while keeping noisy numeric warnings from dominating the console.
Key terms: local pickle file, shape, first five rows, NumPy, Pandas, scikit-learn, XGBoost, Matplotlib, Seaborn
5.3.2 Data import and quick exploration
This section summarizes and cleans credit data, then uses quick visualizations to inspect the target and feature distributions before modeling.
- Column summary for data checks: Explain how the summary function helps identify data-quality problems before cleaning.
Why it matters: A compact column overview helps you decide what needs attention before modeling. - Sparse and categorical feature preparation: Describe the section’s initial cleaning of highly sparse and categorical columns, including why sparse columns are removed.
Why it matters: These steps turn problematic raw columns into a more usable baseline modeling dataset. - Mean imputation and missingness signal: Explain why the example uses mean imputation and why that baseline choice can be problematic in credit modeling.
Why it matters: In lending, an absent value may itself say something important about an applicant’s risk. - Target distribution and class imbalance: Describe what the target donut chart reveals and why that observation matters for modeling.
Why it matters: Seeing the label balance prevents the team from treating default and nondefault cases as equally represented. - Feature distribution visual checks: Explain what categorical countplots and target-split numeric histograms help reveal before modeling.
Why it matters: Simple plots can point to feature-engineering questions before a model is fitted.
Key terms: summary(df), missingness, unique counts, descriptive statistics, highly sparse fields, categorical columns, LabelEncoder, mean imputation, thin file, sentinel values
5.3.3 WoE and IV calculation
This section explains why a credit-scoring workflow calculates WoE and IV, how its default binning and stability settings work, and what the calculation returns.
- WoE and IV roles: Explain that WoE puts numeric and categorical features on a common log-odds scale that is more interpretable to credit officers, while IV indicates how strongly a feature distinguishes good from bad borrowers.
Why it matters: These are the reasons the workflow calculates both measures before modeling. - Binning and stability defaults: Describe the workflow’s defaults: numeric features are split into ten adjustable quantile bins with pd.qcut, additive smoothing prevents log(0), and WoE clipping limits numeric instability.
Why it matters: These defaults explain how the example handles numeric inputs and avoids unstable values. - Calculation outputs and selection: Describe the returned per-bin or per-category WoE/IV results, the IV-threshold feature list, and the numeric bin boundaries and WoE mappings.
Why it matters: The outputs show what can be inspected and carried forward after the calculation.
Key terms: WoE, IV, log-odds scale, good, bad, additive smoothing, epsilon=0.5, clipping WoE, pd.qcut, quantile binning
5.3.4 Executing WoE and IV, and then reviewing results
This section selects credit-model features using IV results and explains why selected features are converted to WoE values.
- IV Results and Feature Selection: Describe how the section combines numeric and categorical features, excludes the target, and uses calculate_woe_iv to review bin-level results and select features by overall IV. Distinguish the selection threshold from the higher IV values analysts may regard as moderate to strong.
Why it matters: The IV output determines which candidate features move forward, while its values help analysts judge their predictive value. - Selected Feature WoE Representation: Explain what happens to selected features when they are WoE-coded and why the section values that representation.
Why it matters: The transformation makes the selected inputs easier to interpret in a regulated lending setting.
Key terms: num_cols_sample, calculate_woe_iv, woe_result, selected_feats, IV, WoE-coded, WoE bin value, log-odds representation, interpretability
5.3.5 XGBoost modeling with K-fold
This section trains XGBoost on selected WoE-coded credit features using K-fold cross-validation and explains how to interpret its outputs and reported performance cautiously.
- WoE-coded modeling inputs: Describe how df_woe supplies the XGBoost model’s features and label: high-missingness columns are excluded, retained features pass the chosen IV cutoff and are WoE-coded, and the target column is the label.
Why it matters: The inputs determine what signals the model can use and how its feature importances should be read. - K-fold validation outputs: Explain why the section uses multiple folds and distinguish out-of-fold validation predictions from the averaged in-sample predictions. Describe what the function returns for models and feature importance.
Why it matters: Choosing the wrong prediction output can make model performance look better than the validation evidence supports. - Strong AUC interpretation: Explain what the roughly 0.95 AUC across folds suggests and why it does not, by itself, establish readiness for deployment.
Why it matters: Impressive cross-validation results need further checks before a credit-scoring model is trusted in practice. - Practical modeling safeguards: Describe the additional checks and adjustments the section suggests for a credit-scoring model, particularly when defaults are heavily skewed.
Why it matters: A usable credit model must be checked against skewed outcomes and practical modeling risks, not judged by one headline metric.
Key terms: df_woe, WoE-coded features, IV, target column, K-fold, xgb_models, xgb_oof, predictions, f_imp, out-of-fold
5.3.6 Visualizing ROC and a confusion matrix
This section uses fold-level ROC curves and a confusion matrix to interpret XGBoost credit-model performance and the lending tradeoff between missed defaults and rejected good borrowers.
- Fold-level ROC interpretation: Describe what the plotted ROC curves show for each fold and report the approximate AUC shown here.
Why it matters: The curves let you describe model performance across folds rather than relying on a single classification result. - Confusion matrix lending tradeoff: Explain what the confusion matrix at a 0.5 threshold reveals and why BFSI teams may adjust the classification threshold.
Why it matters: In lending, the two kinds of classification error have different practical consequences.
Key terms: ROC curves, True Positive Rate, False Positive Rate, AUC, xgb_oof, confusion matrix, threshold 0.5, false negatives, false positives, missed defaults
5.3.7 Credit score conversion
This section converts predicted default probabilities into credit scores and explains how those scores support lending decisions, model validation, monitoring, and auditable inference.
- PDO credit score conversion: Explain why BFSI teams convert default probabilities to a log-odds–based integer score and what a fixed increase means on a points-to-double-odds scale.
Why it matters: The score gives model predictions a form that people and existing credit processes can use. - Operational score cutoffs: Describe how an integer credit score fits existing bank rules and supports approve, review, and reject cutoffs, including why the costs of wrong decisions matter.
Why it matters: A usable score must fit lending operations and the institution’s risk tradeoffs, not just rank applicants. - Score distribution drift: Explain what teams look for when monitoring the credit score distribution and what changes in its shape can indicate.
Why it matters: The distribution can reveal that the population being scored is changing. - Final model and validation: Describe how the model is finalized after cross-validation and distinguish that retraining step from additional validation used before deployment.
Why it matters: A single finalized model is needed for scoring, while separate checks help establish whether it is safe to deploy. - Single-applicant scores and audit: Trace what single-record inference returns and explain why institutions retain supporting information about each decision.
Why it matters: A lending prediction needs both an operational score and a record that can support review of the decision.
Key terms: default probabilities, log-odds–based credit score, points-to-double-odds (PDO), baseline, legacy system integration, cutoff decisions, asymmetrical risk, manual review, score distribution, drift
5.3.8 Packaging and deploying the final BFSI model
This section explains how to package a finished credit model for consistent deployment while preserving the records needed to audit its decisions.
- Credit model packaging options: Distinguish model-file exports from endpoint-based deployment and describe how each lets downstream systems use a finished credit model.
Why it matters: A packaged model can be used consistently by the systems that make credit decisions. - Auditable model decision history: Explain why version control and disclaimers must accompany deployment, and describe what institutions record to make credit decisions auditable.
Why it matters: The audit trail lets an institution account for how a particular credit decision was reached.
Key terms: PMML, ONNX, containers/microservices, managed endpoint, model version control, disclaimers, decision logic, champion-challenger deployments, auditable trail
5.3.9 Beyond deployment: What “production-ready” really means
Production-ready credit scoring requires operational controls and governance beyond packaging and deploying a model.
- Model traceability and monitoring: Explain how a model registry and production monitoring help keep a credit model auditable and observable after deployment.
Why it matters: A deployed score is not enough if the institution cannot trace which model produced it or notice when its behavior changes. - Controlled model replacement: Describe how champion-challenger comparison and rollback reduce the risk of replacing a live credit model.
Why it matters: Comparing before a switch and retaining a way back limit the consequences of a problematic model update. - Governance beyond model deployment: Explain why technical deployment alone does not make a BFSI credit model production-ready and who must review it.
Why it matters: In lending, a working model must also withstand institutional review and ongoing operational responsibility.
Key terms: model registry and versioning, training data lineage, automated monitoring and alerting, AUC, K-S, PSI, champion-challenger framework, champion, challenger, rollback procedures
5.4 Summary
Where this is used later
- Putting it all together: The four-layer framework in production (chapter 6) · The earlier introduction of feature stores as reusable data assets.
- Global explanations: Answering “How does this thing work?” for the auditor (chapter 6) · Builds on the need to explain how a credit model uses its features to auditors.
- (chapter intro) (chapter 6) · The earlier hands-on WoE calculation illustrates the manual work being scaled up.
- Using OptBinning for automated binning and scorecards (chapter 6) · Introduces the earlier manual WoE and IV work that OptBinning offers to automate.
- Putting explanations into practice (chapter 6) · Feature-importance findings can inform the later use of explanations.
- Evaluating with ROC, CAP, and KS (chapter 6) · ROC is used again to evaluate a scorecard.
- Building a scorecard (logistic model under the hood) (chapter 6) · Building a scorecard uses the idea of a standardized credit score.
- Monitoring model drift with ScorecardMonitoring (chapter 6) · Scorecard monitoring examines changes in score distributions.
Concepts explained in this chapter
- class imbalanceA condition in which a classification dataset has substantially different numbers of observations in its classes.
- points-to-double-odds scaleA score scale in which a specified increase in points corresponds to a doubling of the odds.
- data explorationExploratory data analysis is the examination of data to understand its structure, quality, and distributions before further analysis or modeling.
- missing valueData values that are absent from a dataset for some records or fields.
- cross-validationCross-validation is a model evaluation technique that partitions data into subsets and repeatedly trains and evaluates a model on different subsets.
- pipelineAn ordered sequence of data-processing or modeling steps that transforms inputs into outputs.
- weight of evidenceWeight of evidence is a transformation that expresses the strength of association between a predictor category and a binary outcome using event and non-event proportions.
- Apache AirflowApache Airflow is an open-source platform for authoring, scheduling, and monitoring workflows programmatically.
- directed acyclic graphA directed acyclic graph is a directed graph with no directed cycles, often used to represent task dependencies.
- information valueInformation value is a measure of how well a variable separates two outcome classes, calculated by summing weighted differences across its categories or bins.
- XGBoostXGBoost is an open-source software library for gradient-boosted decision trees.
- credit scoringThe process of estimating a borrower’s creditworthiness to support lending decisions.
- batchingThe execution of data-processing work on accumulated records in groups rather than as each record arrives.
- data ingestionData ingestion is the process of collecting and importing data from source systems into a system for storage or processing.
- real-time processingNear-real-time processing handles incoming data with short delays rather than waiting for a scheduled batch.
- feature storeA centralized repository for storing, managing, and serving validated features for machine-learning workflows.
- credit risk modelA statistical or machine-learning model that estimates a borrower’s credit risk from borrower attributes and behavior.
- datamartA subject-focused repository of organized data for analysis and decision-making.
- logitThe logarithm of the ratio of an event’s probability to the probability of its complement.
- retrainingModel retraining is the process of training an existing model again, typically with updated data, to refresh its learned parameters.
- thresholdA cutoff value used to divide observations or trigger an action based on a measured value.
- evaluation datasetA portion of data kept separate from model training for evaluation.
- hyperparameter tuningHyperparameter tuning is the process of selecting configuration values for a model’s learning procedure to improve its performance.
- importance scoreFeature importance is a measure of the contribution or influence of an input feature on a model’s predictions.
- discretizationBinning is the technique of grouping continuous or categorical values into discrete intervals or categories.
- human-in-the-loopHuman oversight is the involvement of people in reviewing, approving, or supervising system decisions and operation.
- interpretabilityThe degree to which people can understand the basis of a model’s predictions or decisions.
- imputationThe replacement of missing data with estimated or designated values.
- provenanceInformation describing the origin, ownership, and changes to data as it moves through systems.
- confusion matrixA table that summarizes classification results by comparing predicted classes with actual classes.
- data cleaningThe process of detecting and correcting or removing errors, inconsistencies, and irrelevant data to improve data quality.
- reason codeA reason code is an explanation assigned to a credit decision, such as a code stating why an application was rejected.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.
