real time applications using the r language

9
Real time applications using the R Language Using TIBCO CEP and TERR Lou Bajuk-Yorgan Sr. Director Product Management

Upload: lou-bajuk

Post on 17-Jul-2015

1.009 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Real time applications using the R Language

Real time applications

using the R LanguageUsing TIBCO CEP and TERR

Lou Bajuk-Yorgan

Sr. Director Product Management

Page 2: Real time applications using the R Language

© Copyright 2000-2014 TIBCO Software Inc.-2-

Why?

• Why use the R language in real time applications?

– Breadth of analytics—more likely to find the “best” answer

– Ease of prototyping new analyses—rapidly respond to changing

opportunities and threats

E.g., fraud detection of evolving threats

• Challenge

– Applying R quickly enough to keep up with real time events

– Enabling rapid iteration from prototyping to production

© Copyright 2000-2014 TIBCO Software Inc.

Page 3: Real time applications using the R Language

© Copyright 2000-2014 TIBCO Software Inc.-3-

Components

• TIBCO Complex Event Processing (CEP)

– Fast Data Platforms from TIBCO

– TIBCO Streambase: graphical workflows representing real time data

streams

– TIBCO Business Events: complex rules-based event processing

• TIBCO Enterprise Runtime for R

– Alternative R Language interpreter developed by TIBCO

– Generally faster, more memory-efficient than open-source R engine

– Based on longtime expertise with S+

– Freely available to R Community

– Embeddable in TIBCO Spotfire, CEP and 3rd party products

– Compatible with RStudio for development

Page 4: Real time applications using the R Language

© Copyright 2000-2014 TIBCO Software Inc.-4-

• TERR powers real-time advanced analytics to “Fast Data” in

TIBCO Streambase and TIBCO Business Events

– When an event is identified, the CEP application can trigger: An automated business process (e.g., extend a mobile offer to a customer; stop a fraudulent

transaction in process)

A Spotfire application or dashboard, marrying real-time event data with historical contextual

data, providing immediate root cause analytics (Spotfire Event Analytics)

TERR in TIBCO’s Complex Event Processing

ModelDevelop model

Deploy via TERR in

TIBCO Streambase

or Business Events

ActAutomatically monitor

real-time transactions

Automatically trigger

action

AnalyzeAnalyze data in Spotfire

Uncover patterns,

trends & correlations

Page 5: Real time applications using the R Language

© Copyright 2000-2014 TIBCO Software Inc.-5-

Use Cases: TERR in CEP

Logistics Optimization

• Port Congestion Detection

– Real time system triggers TERR

– Analyzes port congestion

– Recommends reduction of speed if no berths

available

• Maritime Abnormality Detection

– Based on Automatic Identification System info,

TERR calculates likelihood of deviation from

normal sailing routes

– Alerts carrier & operator

© Copyright 2000-2014 TIBCO Software Inc.

Page 6: Real time applications using the R Language

© Copyright 2000-2014 TIBCO Software Inc.-6-

Use Cases: TERR in CEP

Predictive Maintenance for Oil & Gas

• Oil & Gas Extraction

– Maintenance downtime and equipment

failures are costly

– Engineers track sensor data to find leading

indicators (e.g., temperature, vibration)

• Engineers usually use ad hoc rules on leading

indicators

– R/TERR used to develop predictive

models for preventative maintenance

– Deployed in real-time systems, alert

when maintenance recommended

© Copyright 2000-2014 TIBCO Software Inc.

Page 7: Real time applications using the R Language

© Copyright 2000-2014 TIBCO Software Inc.-7-

Use Cases: TERR in CEP

Severe Weather Alerts Tracking for

Facilities

• Alert Facilities Managers to Severe

Weather Alerts

• Use TIBCO Streambase to monitor

alerts in real time

– TERR queries for current weather alerts

– Uses sp & rgdal package to compare

areas of alerts vs. facility locations

• On alert, update Spotfire visualization

with mapped alerts, notify Facilities

managers

© Copyright 2000-2014 TIBCO Software Inc.

Page 8: Real time applications using the R Language

© Copyright 2000-2014 TIBCO Software Inc.-8-

Use Cases: TERR in CEP

Customer Loyalty Analytics

• Deliver real-time predictions on whether to

extend an offer to a given customer

• Apply predictive models in real-time decision

making

– Best marketing offer

– Customer churn

– Predictive Maintenance

– Yield optimization

• Rapidly develop and iterate TERR models in

production

– Respond to changing opportunities and

threats

3:23Wednesday, Sep 3

MilanoWe see you are nearby. Stop by today & you’llget 10% off!

© Copyright 2000-2014 TIBCO Software Inc.

Page 9: Real time applications using the R Language

© Copyright 2000-2014 TIBCO Software Inc.-9-

Summary

• A Fast R-language engine in CEP platforms enables

– Broad access to R analytics to find the “best” model

– Rapid iteration and response to changing conditions

• TIBCO Enterprise Runtime for R (TERR)

– Embeddable in commercial applications, Spotfire, CEP, etc.

– Freely available at tap.tibco.com for R users

– Free version supported through tibcommunity.com

• For more information

– Visit spotfire.tibco.com/terr or contact me ([email protected])