Credit-Risk Corezoid Integration

Credit-Risk Corezoid Integration

Current tutorial shows an example of creation of the credit-risk model and API using Datrics and then integration of it with Corezoid. Complete guide of credit risk model creation you can find here.
To use Datrics in Corezoid you can use prepared credit risk template, wrap it into the API and deploy. In this tutorial we show just an example, you can create and integrate any pipeline created in datrics with Corezoid.
At the end of the tutorial you will have the pipeline that can predict the probability of credit default of the customer, based on the parameters:
  • Home ownership
  • Monthly income
  • Loan amount
  • Loan terms
  • Years of employment
To start, please sign-up or sign-in if you already have an account.

Creation of credit-scoring pipeline in Datrics

To create a credit-risk pipeline, open the templates tab on the left panel and choose Credit Risk for Corezoid Template
notion image
When pipeline is opened, click on RUN button in the top right corner.
notion image
When the pipeline is finished, click on the pipelines tab in the top-bar and expand the Credit Risk Corezoid 1 pipeline. Then click on the Deploy button.
notion image
In the modal window disable "Enable schedule" switch and click "Deploy"
notion image
Ope Deployments tab in the top-bar, click on "Copy api url" button near the Credit Risk Corezoid 1.
Past the copied URL to Corezoid task as an argument {{apiBaseUrl}}
notion image

Obtaining API Key

To obtain the API Key go to API Keys page.
Enter the new key name, click on generate.
Use the generated key in your Corezoid task as {{apiKey}} parameter
notion image

Set up your parameters for prediction

Pipeline API exposes next parameters, so you can set them in the corezoid
Type of ownership: RENT, OWN, MORTGAGE, NONE, OTHER
Client's income per month in USD
How much money client wants to loan in USD (float)
For how many months client wants to take the load (Integer)
Client's years of employment (interger)

Pipeline result

As the result of the pipeline execution you will get the probability of default of customer with given parameters