Hub
Pricing About
WorkflowWorkflow

01_Training Loan Request

Random ForestKNIME for FinanceFinancial ServicesApproving Loan RequestsClassification
+1
knime profile image
Versionv2Latest, created on 
Jan 22, 2025 3:30 PM
Drag & drop
Like
Download workflow
Workflow preview
This workflow trains a classification model using a Random Forest algorithm to approve or disapprove loan requests. The dataset we used is the German Credit Data Set, provided by University of California Archive for Machine Learning and Intelligent Systems. This dataset contains loan requests and information about the applicants' age, marital status, checking account balance and employment. These pieces of information will be the input features to the model. If the loan request was approved, the target variable is 1 ( = credit-worthy applicant), if rejected 2 ( = risky applicant). The workflow implements the following steps:
1. read data
2. clean data (here only the renaming of the target column, column20, is required)
3. partition the data: 80% into training set - 20% into test set
4. trains a random forest to predict the target variable, that is 1 credit-worthy, 2 risky applicant, on training set.
5. saves trained model to be reused for deployment in production
6. runs model on test set data
7. calculates confusion matrix and other metrics to evaluate model performance

Read more on the topic Credit Scoring on the KNIME Blog: https://www.knime.com/blog/how-to-do-credit-scoring

External resources

  • German Credit Dataset
  • KNIME Blog: Credit Scoring
  • Scoring Metrics eBook
  • How to Optimize the Classification Threshold
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.4.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Versions 5.2.2, 5.4.0

    knime profile image
    knime
  • Go to item
    KNIME Ensemble Learning WrappersTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime profile image
    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime profile image
    knime
  • Go to item
    KNIME JavaScript Views (Labs)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime profile image
    knime
  • Go to item
    KNIME Optimization extensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime profile image
    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime profile image
    knime
  • Go to item
    KNIME ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.4.0

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits