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.

Deploy and use a multi-framework deep learning platform on Kubernetes

Deploy and consume a deep learning platform on Kubernetes, offering TensorFlow, Caffe, PyTorch etc. as a service.

Deploy a Core ML model with Watson Visual Recognition

With Core ML, developers can integrate a trained machine learning model into an application. Watson Visual Recognition now supports exporting trained Core ML models. This code pattern shows you how to create a Core ML model using Watson Visual Recognition, which is then bundled into an application.

Integrate Watson AI into Salesforce apps

Learn how to use the Watson Salesforce SDK to make calls to Watson Visual Recognition, Watson Discovery, and Watson Tone Analyzer APIs.

Develop protected serverless web applications

In this code pattern, we demonstrate how to utilize IBM Cloud Functions with OAuth 2 to enable the authentication and authorization in a web app.

Use Mongoose and MongoDB to serve app data

Use Mongoose, an Object Data Modeling library, to connect to your MongoDB, manage data relationships, and provides schema validation for MongoDB objects.

Explore Hyperledger Fabric through a complete set of APIs

Learn how to begin the process of building a Hyperledger blockchain application using the Hyperledger Fabric SDK API.

Deploy a serverless multilingual conference room

Create a multilingual conference room using Watson Text to Speech. OpenWhisk actions and a MQTT messaging broker are also used in this scenario.

Analyze open medical datasets to gain insights

Use this code pattern as a beginning guide to run through various machine learning classifiers and compare the outputs with evaluating measures.

Create and deploy a scoring model to predict heartrate failure

Use IBM's Data Science Experience to build a predictive model with Watson Machine Learning.

Determine trending topics with clickstream analysis

Demonstrate how to detect real-time trending topics on popular websites by collecting data on user visits.

Deploy Akka Cluster on Kubernetes

Akka Cluster is a fault-tolerant peer-to-peer cluster membership service. Kubernetes provides multiple features that are a great fit for running applications built with Akka Cluster. Learn how to configure your Akka Cluster application to run on top of Kubernetes, taking advantage of its many standard features.

Create a podcast downloader using serverless technology

Learn how to use serverless technology to build a podcast downloader while gaining an introduction to serverless processes and programming.

Create an app to perform intelligent searches on data

Walk through a working example of a web application that queries and manipulates data from the Watson Discovery Service. This web app contains multiple UI components that you can use as a starting point for developing your own Watson Discovery Service applications.

Create a soccer league dashboard app

Use Akka, React, and IBM Cloudant to deploy soccer league dashboard app on IBM Cloud.

Build a financial stress-test app with natural language generation

Build a stress-testing app for investment portfolios that includes integration with natural language generation to produce detailed portfolio analysis.