View
4.451
Download
1
Category
Preview:
DESCRIPTION
Join Chris Madison and Nathan Vega as we explore Watson services on Bluemix and how developers can harness the services to build the most innovative applications to meet their needs.
Citation preview
Building Your Own Watson Powered Application on Bluemix
2© 2014 International Business Machines Corporation
Interactivity Tips
1. Ask A Question
2. Download a PDF copy of today’s presentation
3. Social Networking Tools
Building Your Own Watson Powered Application on Bluemix
4
Chris Madison (Speaker)
Solution Architect, Watson Innovations
@ChrisMadisonIBM
Nathan Vega (Moderator)
Developer Engagement, IBM Bluemix
@IBMBluemix
Bluemix Blog
5
Agenda
• Introduction
• Who I am and what I do
•BlueMix
•Watson Platform Services
• User Modeling Demo: Node
• Question and Answer Demo: Java on Liberty
• Question and Answer Session
© 2014 International Business Machines Corporation
© 2014 International Business Machines Corporation© 2014 International Business Machines Corporation
BlueMix
6
7
What is BlueMix?
• Bluemix is an open-standard, cloud-based platform for building,
managing, and running applications of all types (web, mobile, big
data, new smart devices, and so on).
© 2014 International Business Machines Corporation
Instant EnvironmentsThe developer can choose any
language runtime or bring your own.
Zero to production in one command.
APIs and ServicesA catalog of IBM, third party, and open
source API services allow the
developer to stitch an application
together in minutes.
On-Prem IntegrationBuild hybrid environments. Connect to
on-premise assets plus other public
and private clouds.
DevOpsDevelopment, monitoring, deployment,
and logging tools allow the developer to
run the entire application.
Layered SecurityIBM secures the platform and
infrastructure and provides you with the
tools to secure your apps.
Flexible PricingSign up in minutes. Pay as you go and
subscription models offer choice and
flexibility.
8
Why are developers using BlueMix?
© 2014 International Business Machines Corporation
Go from zero to running code in a
matter of minutes
Automate the development and
delivery of many applications
To rapidly bring products
and services to market at
lower cost
To continuously deliver
new functionality to their
applications
To extend existing
investments in IT
infrastructure
Extend existing investments by
connecting securely to on-
premise infrastructure
© 2014 International Business Machines Corporation© 2014 International Business Machines Corporation
Watson Platform Services
9
10
A cognitive learning system enhances our abilities to perceive, reason and relate.
© 2014 International Business Machines Corporation
Perception:
Watson understands the world as we do: it interprets sensory input beyond traditional data
Reasoning:
Watson thinks through complex problems: it deepens our analysis and inspires creativity
Relating:
Watson understands how we communicate, and personalizes its interactions with each of us
Learning:
Watson learns from every interaction, scaling our ability to build experience
11© 2014 International Business Machines Corporation
User Modeling
Psycholinguistic
Analytics
• User Modeling leverages linguistic analytics to construct
a personality profile of an individual based on their
social footprint and other written artifacts.
• The generated profile includes personality and
social traits, values, needs and the Big 5
personality traits
• Openness
• Conscientiousness
• Extraversion
• Agreeableness
• Neuroticism
12
User Modeling
Input: The application provides text input
generated by the individual: emails, tweets, blogs
and other text documents.
Portrait API: JSON object of cognitive and social
characteristics
Visualization API: Uses Portrait API output to
generate a visual portrait© 2014 International Business Machines Corporation
13© 2014 International Business Machines Corporation
Language Identification
Analyzes text and identifies the primary language
of the text.
Input: UTF-8 formatted text Output: IETF language tag
中國哲學書電子化計劃
zh-TW
© 2014 International Business Machines Corporation
14© 2014 International Business Machines Corporation
Machine Translation
Provides an API to translate text between
languages.
Input: REST service call
that contains text and the
translation engine to use.
Output: Translated text
Supports English, Spanish, Brazilian Portuguese and French.
© 2014 International Business Machines Corporation
15© 2014 International Business Machines Corporation
Relationship Extraction
Analyzes text and identifies relationships
between sentence components.
© 2014 International Business Machines Corporation
16© 2014 International Business Machines Corporation
Relationship Extraction
Input: Text to analyze,
model, output format
Output: Extracted
relationships in text, json or
xml format.
Supports English and Spanish language news models.
© 2014 International Business Machines Corporation
17
Question Answer
Leverages NLP to understand user
questions and provides answers,
evidence and associated confidence.
The Question Answer service is a
gateway to BlueMix-hosted Travel and
Healthcare domain corpora.
Understands question
Produces possible answers and
evidence
Analyzes evidence
Computes confidence
Delivers response, evidence and
confidence
Asks a question
Considers response and
evidence
© 2014 International Business Machines Corporation© 2014 International Business Machines Corporation
18© 2014 International Business Machines Corporation
Question Answer Question Answer
Input: A QA API formatted question{ question: {
questionText: “Should I take aspirin on a daily basis?”
}}
Output: QA API JSON response with
answers, evidence and confidence
levels.
Question Answer - QAAPI
© 2014 International Business Machines Corporation
19© 2014 International Business Machines Corporation
Question Answer Question Answer
The Watson for Travel corpus contains content from the
following sources:
•Wikivoyage
•CDC Travel
•TSA.gov
Question Answer - Travel
© 2014 International Business Machines Corporation
20© 2014 International Business Machines Corporation
Question Answer Question Answer
The Watson for Healthcare corpus is populated from the
following sources:
•Healthfinder.gov
•CDC Health Topics
•National Heart, Lung, and Blood Institute (NHLBI)
•National Institute of Arthritis and Musculoskeletal and
Skin Diseases (NIAMS)
•National Institute of Diabetes and Digestive and Kidney
Diseases (NIDDK)
•National Institute of Neurological Disorders and Stroke
(NINDS)
•Cancer.gov (physician data query)
Question Answer - Healthcare
© 2014 International Business Machines Corporation
21© 2014 International Business Machines Corporation
Concept Expansion
Concept Expansion is a process that is also known as Semantic Lexicon
Induction, or Semantic Set Expansion. It is the process by which a
semantic class, such as fruit goes from a list of terms like "apple, orange,
cherry" to "apple, orange, cherry, limes, strawberries".
Analyzes text and compares it to a set of
unstructured data to extract similar concepts.
© 2014 International Business Machines Corporation
22© 2014 International Business Machines Corporation
Input: List of words to
expand and a corpus id
Output: List of expanded
concept with prevalence in
corpus
Concept Expansion
Hematoma, medtrans
© 2014 International Business Machines Corporation
23© 2014 International Business Machines Corporation
Message Resonance
Analyzes content and scores how well the
message is to be received by a target
community.
© 2014 International Business Machines Corporation
24© 2014 International Business Machines Corporation
Message Resonance
Input: Content to analyze
and a corpus identifier
Output: JSON object with
resonance rankings
Supports Cloud Computing and Big Data communities
© 2014 International Business Machines Corporation
25© 2014 International Business Machines Corporation
Visualization Rendering
Visualization Rendering in an SDK that drives
data visualization using JSON.
Charts are created using a set
of composable features
Infinite chart flexibility - one
chart widget may handle many
chart specifications
Supports Java, JavaScript, iOS and Android© 2014 International Business Machines Corporation
26
Feedback Tools
© 2014 International Business Machines Corporation
Each service provides a feedback mechanism in order to learn from the
community.
The feedback is PUT to the
service in JSON format.
Services leveraging this feedback
mechanism:
• User Modeling
• Concept Expansion
• Machine Translation
• Relationship Extraction
• Language Identification
27
Feedback Tools
© 2014 International Business Machines Corporation
The Question Answer service also has a Feedback API, of which the feedback is
used by Watson to increase precision and accuracy.
© 2014 International Business Machines Corporation© 2014 International Business Machines Corporation
User Modeling Demo: Node
28
29© 2014 International Business Machines Corporation
User Modeling Demo
• Developer Tools
• IBM SDK for Node
– https://www.ibm.com/developerworks/web/nodesdk/
• Cloud Foundry
– /cloudfoundry/cli in github
© 2014 International Business Machines Corporation
© 2014 International Business Machines Corporation© 2014 International Business Machines Corporation
Question and Answer Demo: Java on Liberty
30
31© 2014 International Business Machines Corporation
Question and Answer Demo
• Developer Tools
• Eclipse
– Rational Software Architect used on Mac in demo
• WebSphere Liberty Profile
– https://developer.ibm.com/wasdev/downloads/liberty-profile-using-
eclipse/
• IBM Eclipse Tools for BlueMix
– http://marketplace.eclipse.org/content/ibm-eclipse-tools-
bluemix#.VE6YtUgfBaY
© 2014 International Business Machines Corporation
32
Get hands on fast!
© 2014 International Business Machines Corporation
• Get a Bluemix account
• Try the Watson services
free of charge for 30 days
• Take the next step toward
further development or
production deployment
33© 2014 International Business Machines Corporation
IBM Bluemix
IBM Watson
facebook.com/ibmbluemix @ibmbluemixBluemix.net
© 2014 International Business Machines Corporation© 2014 International Business Machines Corporation
Question and Answer Session
34
Recommended