Skip to content

nerdingitout/CP4D-bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CP4D-bank

Description

This demo aims to automate the banking experience for customers regarding loans on Cloud Pak for Data using Watson Studio, Watson Assistant and Cloud Functions. The project is currently built on the cloud, this documentation aims to provide step-by-step details to implement the same on CP4D on any infrastructure.

Features

  • User can interact with the system using a web application or through Watson Assistant
  • Watson Assistant can answer the following questions:
    • Queries about loans (Loan Predicition, recommending loans and tips to be eligible for loans)
    • History transactions
    • Loan Prediction model, using Auto AI, to predict user eligibility for loan.

Architecture

image

Demo

Demo is currently in progress but can be found here and the assistant can be found here.

Collect

In this project we are using German credit data set: https://online.stat.psu.edu/stat857/node/215/

Steps

Step 1

  1. We found a German credit data set: https://online.stat.psu.edu/stat857/node/215/
  2. We decided to go with the Cloud Pak for Data as a service (Watson Studio). This will help us connect Watson Assistant to our service later.
  3. We uploaded the data set to Watson Studio.
  4. Cleaned the data using data refinery
  5. Built Auto AI Experiment for Loan Prediction. Works with 0.81 accuracy, results are good so far.
  6. Deployed Auto AI in a deployment space.

Step 2

In this step we mainly focused on building the Loan Assistant with Watson Assistant. Skill can be found in the "loan-skill.json" file.
The assistant can do the following:

  • Predict whether user is eligible for loans by asking them a series of questions and then passing into Cloud functions to get results based on the auto ai model we built earlier.
  • Recommend Loans for users based on their data.
  • Users can apply for loans if they are eligible or can ask more information about how to apply for loan or check required documents.
  • Help users with general FAQ questions about loans.

Step 3

The final step in this project is connecting Watson Assistant to the model we built using Cloud functions.

  • On Watson Assistant, we enabled webhooks, and added the HTTP link to the assistant.
  • In the loan prediction dialog node, we enabled the webhook and added the parameters that their values will be processed into the model to get the final results.
  • The cloud functions code that is used as middleware between the assistant and ml model can be found here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages