Code patterns

Roadmaps for solving complex programming challenges.

Patterns give you a 360-degree view of the underlying code, including overviews, architecture diagrams, process flows, repo pointers, and additional reading.

Fingerprinting personal data from unstructured text

Build a custom model using Watson Natural Language Understanding and Watson Knowledge Studio.


Build a blockchain insurance app

With its distributed ledger, smart contracts, and non-repudiation capabilities, blockchain is revolutionizing the way financial organizations do business, and the insurance industry is no exception. This code pattern shows you how to implement a web-based blockchain app using Hyperledger Fabric to facilitate insurance sales and claims.


Compute analytics on an investment portfolio

Leverage full revaluation cashflow models in a single line of code to more readily integrate sophisticated analysis into end-user applications.


Create an offline-first shopping list with Polymer and PouchDB

Shopping List is an offline-first progressive web app demo built using Polymer and PouchDB. The app is designed to work offline and will sync with Cloudant NoSQL DB when online.


Explore Spark SQL and its performance using TPC-DS workload

Learn how to setup and run the TPC-DS benchmark to evaluate and measure the performance of your Spark SQL system


Analyze an image and send a status alert

Build an app that loads an image to a database, analyzes it, and based on the results, triggers an alert indicating a need for action.


Store, graph, and derive insights from interconnected data

Discover how to mine, analyze, and gain insight from complex relationship data and social media using OrientDB and the IBM Data Science Experience (DSX).


Analyze Twitter handles and hashtags for sentiment and content

Create charts and graphs for Sentiment, Emotional Tone, and Keywords for Twitter handles and hashtags.


Use Spark SQL to access NoSQL HBase tables

Learn how to use Spark SQL and HSpark connector package to create and query data tables that reside in HBase region servers.


Analyze industrial equipment for defects

Automate inspection of industrial equipment by using images and the Watson Visual Recognition service to find and fix defects.


Cloud-host a graph database using Kubernetes

Learn how to quickly host OrientDB on the IBM Cloud Container Service by using Kubernetes APIs.


Create a mobile handwritten Hangul translation app

Create a mobile application leveraging TensorFlow that will recognize and translate handwritten Korean characters.


Perform a machine learning exercise

Dive into machine learning by performing an exercise on IBM Data Science Experience using Apache SystemML.


Build a recommender with Apache Spark and Elasticsearch

This developer pattern demonstrates the key elements of creating a recommender system by using Apache Spark and Elasticsearch.


Develop a graph database app using JanusGraph

Develop a twitter-like application using JanusGraph, covering model creation, data generation, data ingestion, and graph querying.