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:
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 managermicroservice 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:
- ICP for Data with Spark cluster for model execution
- Watson Data Platform on IBM Cloud with Watson ML on IBM Cloud for the scoring service
- 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.
- Install MkDocs locally following the official documentation instructions.
git clone https://github.com/ibm-cloud-architecture/refarch-cognitive-analytics.git(or your forked repository if you plan to edit)
- Go to
http://127.0.0.1:8000/in your browser.
Pushing the book to GitHub Pages
- Ensure that all your local changes to the
masterbranch have been committed and pushed to the remote repository.
git push origin master
- Ensure that you have the latest commits to the
gh-pagesbranch, so you can get others' updates.
git checkout gh-pages git pull origin gh-pages git checkout master
mkdocs gh-deployfrom the root refarch-cognitive-analytics directory.
As this implementation solution is part of the Event Driven architeture reference architecture, the contribution policies apply the same way here.
Please contact me for any questions.