Skip to content

Present a reference implementation for a business application linking cognitive and analytics to learn customer's behavior and assess customer risk to churn. It is based on structured data, machine learning algorithm, data movement, and cognitive services for classifying unstructured data.

License

Notifications You must be signed in to change notification settings

ibm-cloud-architecture/refarch-cognitive-analytics

Repository files navigation

Customer analysis with cognitive and analytics in hybrid cloud

This project is part of the 'IBM Hybrid Analytics and Big Data Architecture' reference architecture implementation, available at https://github.com/ibm-cloud-architecture/refarch-analytics.

The goal of this implementation is to deliver a reference implementation for data management and service integration to consume structured and unstructured data to assess customer attrition.

For better reading experience go to the book view.

Reuse this solution

We recommend git forking this project, clone it with git clone https://github.com/ibm-cloud-architecture/refarch-cognitive-analytics and then runs the following command to clone all the related repositories involved in this solution:

./scripts/clone.sh

Once done you can read the content of this repository as a book, or try our step by step labs.

The main goal of this solution is to run in hybrid cloud, reusinf services from public cloud, private cloud and on-premise database servers.

  • The DB2 instance runs on separate on-premise servers, to illustrate the use case of keeping existing infrastructure investments.
  • customer manager microservice runs on IBM Cloud Private, accessing customer and account tables deployed on DB2 servers outside of ICP.
  • Watson Cognitive services are on IBM Cloud, public offering,
  • The datasource to persist the conversation data is Cloudant DB on Public Cloud.

For the back end we have two options: Z OS with DB2 and Z Connect, and Java based REST micro service and DB2.

For the machine learning, three options:

  1. ICP for Data with Spark cluster for model execution
  2. Watson Data Platform on IBM Cloud with Watson ML on IBM Cloud for the scoring service
  3. Watson Studio deployed on ICP cluster.

Using Watson Data Platform

As an alternate to use DSX on ICP to develop the machine learning model, Data Scientist can use Watson Data platform to gather the data from multiple datasources like Amazon S3, CloudantDB, and from transactional data, persist in public object store and deploy the model once trained to Watson Machine learning.

See this note for detail about the implementation of the analytic model, and the see the WMLChurnServiceClient.js code for the integration part.

Building this booklet locally

The content of this repository is written with markdown files, packaged with MkDocs and can be built into a book-readable format by MkDocs build processes.

  1. Install MkDocs locally following the official documentation instructions.
  2. git clone https://github.com/ibm-cloud-architecture/refarch-cognitive-analytics.git (or your forked repository if you plan to edit)
  3. cd refarch-cognitive-analytics
  4. mkdocs serve
  5. Go to http://127.0.0.1:8000/ in your browser.

Pushing the book to GitHub Pages

  1. Ensure that all your local changes to the master branch have been committed and pushed to the remote repository.
    1. git push origin master
  2. Ensure that you have the latest commits to the gh-pages branch, so you can get others' updates.
    git checkout gh-pages
    git pull origin gh-pages
    
    git checkout master
  3. Run mkdocs gh-deploy from the root refarch-cognitive-analytics directory.

Contribute

As this implementation solution is part of the Event Driven architeture reference architecture, the contribution policies apply the same way here.

Contributors:

Please contact me for any questions.

About

Present a reference implementation for a business application linking cognitive and analytics to learn customer's behavior and assess customer risk to churn. It is based on structured data, machine learning algorithm, data movement, and cognitive services for classifying unstructured data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •