Watson on Bluemix Subtitle
Watson on Bluemix
Subtitle
!
§ BlueMix Runtime, Services and DevOps Architecture!§ Watson Cloud and Cognitive Services!§ Watson Application Demo !!!!!
Watson on Bluemix Meetup Agenda
Animesh Singh Anthony Stevens Wade Barnes
Speakers :
IBM Bluemix – Runtime, Services and DevOps Architecture by @AnimeshSingh
Register now! bluemix.net
§ IBM Platform as a Services offering
§ IBM and partner cloud services
§ Integrated DevOps with both Browser and Eclipse-based tools
Services
Lifecycle Management (JazzHub)
Applica8on Run8me
Run8mes & Frameworks
Middleware Applica8on Opera8onal Mobile External Data
node java ruby Worklight WebSphere Liberty
Web IDE (Eclipse Orion) Eclipse IDE
Applica8on Composi8on Environment
Create & Manage Services
Test/Run Test/Run
Explore Services
Explore Services
IBM Bluemix ™ Check In Code Check In Code
IBM Bluemix
Meets Developer’s Needs Focus on app development, not provisioning VMs, databases, messaging servers, etc Agile development model Deploy and scale in seconds
Open Cloud Platform There is an increasing appetite for cloud-based mobile, social and analytics applications from line-of-business executives - drives the need for a more open cloud development platform
Compelling Community Cloud Foundry has a compelling community and emerging ecosystem as well as a mature set of capabilities and robustness
Platinum Founding Sponsors 1,165 739k
LINES OF CODE TOTAL CONTRIBUTORS
Powered by Cloud Foundry
Run Your Apps The developer can chose any language runtime or bring their own. Just upload your code and go.
Application Platform
Liberty for Java Ruby Node.js “Bring Your Own
runtime”
Runtimes
Eclipse IDE
CLI
Browser
cf push
hQp
Application Platform
Eclipse IDE
CLI
Browser
cf push
hQp
Cloud Controller (API)
Router
Application Platform
Eclipse IDE
CLI
Browser
cf push
hQp
Cloud Controller (API)
Router
DEA Pool DEA Pool VM Pool
Apps
Apps
Apps
Apps
Application Platform
Eclipse IDE
CLI
Browser
cf push
hQp
Cloud Controller (API)
Router
DEA Pool DEA Pool Droplet Execu8on
Agent (DEA) Pool
Health Manager
NATS (Message bus)
Application Platform
Run Your Apps The developer can chose any language runtime or bring their own. Just upload your code and go.
APIs and Services A catalog of open source, IBM and third party APIs services allow a developer to stitch together an application in minutes.
Services Platform
Dev Ops
SQL Database JSON
Database Mongo DB PostgreSQL
Mobile "Data
Data Management Services
MQTT CloudCode" Mobile App Mgmt
Mobile Services
Mobile Quality Assurance"
BLU Data Warehouse MySQL
Twilio
Data Cache Session Cache Elastic MQ
Web & App Application
Decision SSO Redis
MapReduce
RabbitMQ Log Analysis
Historian
Internet Of Things
Push
Monitoring and Analytics Git "
Hosting Deployment"Automation Web IDE Agile "
Development
Services Platform
User Experience overview
And now – Watson Services are available on Bluemix
Eight services are available with more on the way
User Modeling Personality profiling to help engage users on their own terms.
Language Identification Iden8fies the language in which text is wriQen
Machine Translation Globalize on the fly. Translate text from one language to another.
Concept Expansion Maps euphemisms or colloquial terms to more commonly understood phrases
Message Resonance Communicate with people with a style and words that suits them
Question Answer Direct responses to users inquiries fueled by primary document sources
Relationship Extraction Intelligently finds rela8onships between sentences components (nouns, verbs, subjects, objects, etc.)
Visualization Rendering Graphical representa8ons of data analysis for easier understanding
Eclipse IDE
CLI
Browser
cf create-‐service
Services Platform
Eclipse IDE
CLI
Browser
Cloud Controller (API)
S E R V I C E B R O K E R
DEA Pool Service Backend
Service instance
Service instance
cf create-‐service
cf bind-‐service
Provision Instance (PUT /v2/service instances/:id)
Create Binding (PUT /v2/service_instances/:id
DEA Pool DEA Pool
App
App
Service instance
App
Fetch Catalog (GET /v2/catalog
Services Platform
Run Your Apps The developer can chose any language runtime or bring their own. Just upload your code and go.
APIs and Services A catalog of open source, IBM and third party APIs services allow a developer to stitch together an application in minutes.
DevOps Development, monitoring, deployment and logging tools allow the developer to run the entire application
DevOps Platform
Browser based Code editor (Eclipse Orion)
JAZZ Build Engine (Jenkins)
Eclipse IDE
Hosted Repository (GIT/SCM)
Push code
App
Push cod
e Code changed
Automated Build
JAZZ Deployment Engine )
App Automated Deploy
DevOps Platform
Run Your Apps The developer can chose any language runtime or bring their own. Just upload your code and go.
APIs and Services A catalog of open source, IBM and third party APIs services allow a developer to stitch together an application in minutes.
Cloud Integration Build hybrid environments. Connect to on-premises systems of record plus other public and private clouds. Expose your own APIs to your developers.
Extend SaaS Apps Drop in SaaS App SDKs and extend to new use cases (e.g,. Mobile, Analytics, Web)
DevOps Development, monitoring, deployment and logging tools allow the developer to run the entire application
And many more capabilities …
Watson Cognitive Services By Anthony Stevens
Watson is ushering in a new era of computing
Tabulating Systems Era
Programmable Systems Era
Cognitive Systems Era
1900 1950 2011
© 2014 International Business Machines Corporation
Watson is cognitive computing
Understands natural language
Generates and evaluates hypotheses
Adapts and learns
Cognitive computing systems learn and interact naturally with people to extend what either humans or machine could do on their own.
They help human experts make better decisions by penetrating the complexity of Big Data.
© 2014 International Business Machines Corporation
Watson has opened up a world of new possibilities
size
sp
eed
corp
us
flexi
bilit
y #u
sers
size
sp
eed
corp
us
flexi
bilit
y #u
sers
2880 cores Single user system 2-‐3 sentences input 5+ days to retrain
Wikipedia, general corpus
Single Power 750, 240% faster 1000s of users
20 pages of input < Day to ingest and train
Medical corpus
Watson Developer Cloud Millions of users
Open to Bluemix users Few hours
Broad industry corpus
s sp
corp
flexi
bi
#use
rs
© 2014 International Business Machines Corporation
We provide you the tools and resources to create cognitive apps
© 2014 International Business Machines Corporation
Concept Expansion
Maps euphemisms or colloquial terms to more commonly understood
phrases
Message Resonance
Communicate with people with a style and words that
suit them
Mix and Match services performing unique tasks
Question and Answer
Direct responses to user inquiries fueled by primary
document sources
User Modeling
Improved understanding of people’s preferences to
help engage users on their own terms
© 2014 International Business Machines Corporation
Relationship Extraction
Intelligently find relationships between sentence
components (nouns, verbs, subjects, objects, etc)
Visualization Rendering
Graphical representation of data analysis for easier
understanding
Accessed by RESTful API or SDK
Language Identification
Identify Language in which it was written
Machine Translation
Globalize on the fly. Translate text from one
language to another
Understands question
Produces possible answers and evidence
Analyzes evidence
Computes confidence
Delivers response, evidence and confidence
Asks a question
Considers response and evidence
Question and Answer
Two dataset available in IBM Bluemix: 1. Travel 2. Healthcare
organization
person cardinal
date
© 2014 International Business Machines Corporation
Relationship Extraction Analyze sentences to find relationships between sentence components: • nouns • verbs • subjects & objects • adjectives • conjunction • etc...
IBM Watson competed and won
Against two human opponents
on Jeopardy in February 2011.
© 2014 International Business Machines Corporation
Concept Expansion Analyzes text and interprets its meaning based on usage in similar contexts Useful for creating a dictionary of related terms.
SEED TERM
EXPANDED TERMS
New York City
NYC
The Big Apple
The City that Never Sleeps
Gotham
© 2014 International Business Machines Corporation
Message Resonance Uses linguistic analysis to extract cognitive and social characteristics from communications to better relate to the intended audience. Input data set from target audience: • email • text messages • tweets • forum posts • and more
Our cloud rocketship delivers a paradigm-shifting solution for super-coders to deliver apps.
0-10 11-20 21-30 31+
Score: 125
Draft Press Release
User Modeling Uses linguistic analytics to extract cognitive and social characteristics from communications that the user makes available: • email • text messages • tweets • forum posts • and more
How will users access these services on Bluemix?
Where: • Through the user’s Bluemix account • New users will receive 30 day free access on Bluemix. • After 30 days, pricing will be based on Bluemix usage plan, but Watson Services for Bluemix are free while in beta
How: • Link to Watson landing page on the top carousel of Bluemix main landing page • Documentation, demos, videos, etc. will be available to support development
User Modeling Boilerplate Walk-through
By Wade Barnes
We will be walking through how to deploy a Node.js app on BlueMix that uses a Watson service. Please install Node.js and Cloud Foundry by referring to the following links: Cloud Foundry/BlueMix info: https://www.ng.bluemix.net/docs/#starters/BuildingWeb.html CLI directory in GitHub: https://github.com/cloudfoundry/cli Node.js Download: http://nodejs.org/download/ Currently, Bluemix provides four versions of IBM SDK for Node.js runtime. They are v0.10.21, v0.10.25, v0.10.26 and v0.10.28. These versions contain IBM enhancements and bug fixes.
Prerequisites
© 2014 International Business Machines Corporation
New York City
BlueMix Dashboard
© 2014 International Business Machines Corporation
New York City
BlueMix Catalog
© 2014 International Business Machines Corporation
New York City
Watson Services on BlueMix
© 2014 International Business Machines Corporation
New York City
SDK for Node.js
© 2014 International Business Machines Corporation
New York City
User Modeling Service
© 2014 International Business Machines Corporation
New York City
User Modeling Link Description
© 2014 International Business Machines Corporation
New York City
© 2014 International Business Machines Corporation
New York City
Configure and Deploy
© 2014 International Business Machines Corporation
New York City
© 2014 International Business Machines Corporation
New York City
Git Repository on BlueMix
© 2014 International Business Machines Corporation
New York City
Export Code to Local
© 2014 International Business Machines Corporation
New York City
Show project files on local
© 2014 International Business Machines Corporation
New York City
Default manifest.yaml - check service name
© 2014 International Business Machines Corporation
New York City
Discuss package.json dependencies
© 2014 International Business Machines Corporation
New York City
Discuss VCAP_SERVICES env variable
© 2014 International Business Machines Corporation
New York City
Cloud Foundry check - Specify where BlueMix is running
© 2014 International Business Machines Corporation
New York City
Login and Specify Target Space
© 2014 International Business Machines Corporation
New York City
© 2014 International Business Machines Corporation
New York City
Upload app and push changes to BlueMix
© 2014 International Business Machines Corporation
New York City
© 2014 International Business Machines Corporation
New York City
© 2014 International Business Machines Corporation
New York City
User Modeling Creds and VCAP_SERVICES
http://www.meetup.com/BlueMix/
http://www.meetup.com/CloudFoundry/
Silicon Valley Cloud Foundry and Bluemix Meetups
Next Meetup: Building Scalable Internet of Things(IoT) applications
In November http://www.meetup.com/Bluemix/events/206223082/ http://www.meetup.com/CloudFoundry/events/206222562/