Code Patterns

Everything you need to quickly solve real problems is compiled into a Code Pattern, with architecture diagrams, one-click deployment GitHub repositories, and pointers to essential docs.

Analyze Twitter handles and hashtags for sentiment and content

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


Create a mobile handwritten Hangul translation app

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


Correlate documents

Correlate content across documents using Python NLTK, Watson Natural Language Understanding (NLU) and IBM Data Science Experience (DSX)


Create an Android calorie-counter app

Built for developers familiar with JavaScript and Node.js that are interested in creating a mobile app that interacts with the camera on a mobile device. Captured food images are identified and processed so that nutritional information can be generated and displayed. This journey makes use of the Watson Node.js SDK to access visual recognition processing.


Assemble a pizza-ordering chatbot dialog

The new Watson Conversation Slots feature allows you to create a complex dialog with fewer nodes. Using slots in this example, we can define the fields in one dialog node and handle the logic in a single node.


Enrich multimedia files using services

Use the IBM Watson Node.js SDK to create a web UI app that enriches multimedia files using speech-to-text conversion, tone analysis, natural language understanding, and visual recognition processing.


Create a cognitive news alerting app

Create a cognitive news app in Node.js to deliver custom alerts via email for specific products or brands mentioned in the news. The app can also alert user on brand sentiment, related products as well as stock price changes.


Detect voltage anomalies in household IoT devices

Get a head start on developing connected devices in the home. Using Node-RED and Watson IoT APIs, you'll learn how to build a cognitive IoT app that detects irregularities in the voltage of your connected household devices.


Image recognition training with PowerAI notebooks

Use transfer learning to leverage the TensorFlow Inception model and create your own image classifier using a PowerAI Jupyter Notebook.


Use Swift to interpret unstructured data from Hacker News

Learn how to pull data points -- concepts, entities, categories, keywords, sentiment, emotion, etc. -- from Hacker News articles using natural-language service calls from a Swift-based application.


Implement voice controls for a serverless home automation hub

Discover how simple it is to build a home automation hub using natural-language services and OpenWhisk serverless technology.


Create a cognitive banking chatbot

Create a banking chatbot with conversation, natural language understanding, anger detection, and answer discovery from FAQ documents.


Create a sports buddy with TJBot and Watson

Use a TJBot with Watson services, Twilio, and FantasyData.com to create your own interactive sports buddy that can help you follow your favorite team, get game reminders, stats, and more.


Create an investment management chatbot

Create a Watson Conversation-based financial chatbot that enables you to query your investments, analyze securities, and use multiple interfaces.


Accelerate training of machine learning algorithms

Efficiently build powerful deep learning applications and improve your machine learning speeds quickly.