30
1 © 2015 The MathWorks, Inc. Integrate MATLAB Analytics into Enterprise Applications Ionut Barbu, Application Engineer

Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

1© 2015 The MathWorks, Inc.

Integrate MATLAB Analytics into

Enterprise Applications

Ionut Barbu, Application Engineer

Page 2: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

2

Data Analytics Workflow

Business Data

Sensor Data

Access and Explore

DataPreprocess Data

Data Reduction/

Transformation

Feature Extraction

Develop Predictive

Models

Model Creation

Model Validation

Integrate Analytics

with Systems

Enterprise Systems

Embedded Devices

MATLAB: Single Platform

Page 3: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

3

Data Analytics Workflow

Business Data

Sensor Data

Access and Explore

DataPreprocess Data

Data Reduction/

Transformation

Feature Extraction

Develop Predictive

Models

Model Creation

Model Validation

Integrate Analytics

with Systems

Enterprise Systems

Embedded Devices

MATLAB: Single Platform

Page 4: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

4

Challenges

Bridge the gap between multiple disciplines

Integrate solutions to enterprise scale frameworks

Deliver fast results with large volumes of data

Page 5: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

5

Enterprise solution

Different tools for development and productization

Domain

Expert

Solution

Architect

Application Manual translation

Page 6: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

6

Enterprise solution

What if you speed up the integration process?

Domain

Expert

Solution

Architect

Application

C/Cshared library

++

Java .NET Python

with automatic deployment

Page 7: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

7

Sharing and Deploying MATLAB ApplicationsWrite Your Programs Once, Then Share to Different Targets

MATLAB

Compilers

With

MATLAB

Users

With People Who

Do Not Have

MATLAB

Coders

MATLAB

Runtime

Page 8: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

8

Share with People Who Do Not Have MATLAB

C/Cshared library

++ExcelAdd-in Java

Hadoop,

Spark.NET

MATLAB

Compiler

MATLABProduction

Server

StandaloneApplication

MATLAB

Compiler SDK

Python

Share Applications with No

Additional Programming

Integrate MATLAB-based Components

With Your Own Software

• Royalty-free Sharing

• IP Protection via Encryption

MATLAB

Runtime

Page 9: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

9

1

2

MATLAB

Toolboxes

MATLAB

Runtime

Application Author

Software Developer

43C/C++

Java

.NETMATLAB

ProductionServer

Python

MATLAB Compiler SDK

Integrate MATLAB-based Components With Your Own Software

Page 10: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

10

Using MATLAB Compiler SDK to create Java Classes

Page 11: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

11

Using MATLAB Compiler SDK to create Java Classes

Page 12: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

12

MATLAB and MATLAB Production Serveris the easiest and most productive environment to take your enterprise

analytics or Internet of Things solution from idea to production

Idea Production

Page 13: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

13

Energy Load Forecast

Page 14: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

14

Energy Load Forecast

MATLAB

Desktop

Predictive

Models

Train in

MATLAB

MATLAB

Runtime

LIBRARY

Weather

Data

Energy

Data

Web

Application

Server

Apache Tomcat

Web Server/

Webservice

Page 15: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

15

Energy Load Forecast

MATLAB

Desktop

Predictive

Models

Train in

MATLAB

MATLAB

Runtime

LIBRARY

Weather

Data

Energy

Data

Web

Application

Server

Apache Tomcat

Web Server/

Webservice

Multiple users

Page 16: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

16

Energy Load Forecast

MATLAB

Desktop

Predictive

Models

Train in

MATLAB

MATLAB

Production

Server

MATLAB

Production Server

Requ

est B

roke

r

LIBRARY

Weather

Data

Energy

Data

Web

Application

Server

Apache Tomcat

Web Server/

Webservice

Page 17: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

17

MATLAB Production ServerEnterprise Class Framework For Running Packaged MATLAB Programs

Server software

– Manages packaged MATLAB

programs and worker pool

MATLAB Runtime libraries

– Single server can use runtimes

from different releases

RESTful JSON interface and

lightweight client library (C/C++, .NET,

Python, and Java)

MATLAB Production Server

MATLAB

Runtime

Request Broker

&

Program

ManagerEnterprise

ApplicationRESTful

JSON

Enterprise

Application

MPS Client

Library

Page 18: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

18

Manage Your Server Instances Using a Dashboard Interface

Page 19: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

19

Manage Your Server Instances Using a Dashboard Interface

Page 20: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

20

MATLAB Production Server

Request

Broker

Building/HVAC

automation

control system

• Variety of

sensors and

controls

• Networked

communication

• Data reduction

Azure

EventHub

Azure

BlobAzure

SQL

MATLAB

MATLAB

Compiler SDK

Algorithm

Developers

Business

Systems

Users

Global heavy duty

electrical equipment

manufacturer

Building Automation IoT Analytics on Azure

Page 21: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

21

Databases

Cloud

Storage

IoT

Visualization

Web

Custom App

Public Cloud Private Cloud

Technology Stack

Platform

Data Business System

MATLAB

Production Server

Analytics

Request

Broker

Azure

Blob

MATLAB

Distributed

Computing

Server

Page 22: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

22

Back-end Scalability

Application server for MATLAB

Manage large numbers of

requests to run deployed

MATLAB programs

Cluster framework for MATLAB

Speed up computationally intensive

programs on computer clusters, clouds,

and grids

.NET

Deployed

ApplicationDeployed

ApplicationDeployed

ApplicationDeployed

Application

Front-end Scalability

Page 23: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

23

Cluster

Parallel Computing ParadigmClusters

Worker Worker Worker Worker Worker Worker

Worker Worker Worker Worker Worker Worker

WorkerWorkerWorkerWorkerWorkerWorker

Worker Worker Worker Worker Worker Worker

Page 24: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

24

Speed-up using Multiple Cores on the CloudHigh Resolution Image Processing

Page 25: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

25

Big Data Workflow

Process out-of-memory data on your Desktop to explore,

analyze, gain insights and to

develop analytics

MATLAB Distributed Computing Server,

Spark+Hadoop

Local disk,

Shared folders,

Databasesor Spark + Hadoop (HDFS),

for large scale analysis

Use Parallel Computing

Toolbox for increased

performance

Run on Compute Clusters

Page 26: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

26

Scale your Applications Beyond the Desktop

Learn More: Parallel Computing on the Cloud

Option Parallel Computing Toolbox

Description Explicit desktop scaling

Maximum

workersNo limit

Hardware Desktop

Availability Worldwide

MATLAB Parallel Cloud

Single-user, basic scaling

to cloud

16

MathWorks Compute

Cloud

United States and Canada

MATLAB Distributed

Computing Server

for Amazon EC2

Scale to EC2 with some

customization

256

Amazon EC2

United States, Canada and other

select countries in Europe

MATLAB Distributed

Computing Server

for Custom Cloud

Scale to custom cloud

No limit

Amazon EC2,

Microsoft Azure,

Others

Worldwide

MATLAB Distributed

Computing Server

Scale to clusters

No limit

Any

Worldwide

Page 27: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

27

MATLAB

MATLAB

Compiler SDK

MATLAB Production Server

Request

BrokerAlgorithm

Developers

Request

Broker

Request

Broker

o Saved € 2 million

annually for an

external system

o Quicker

implementation of

adjustments in source

code by the

quantitative analysts

o Knowledge + MATLAB

= Build your own

systems

Global

financial

institution with

European HQ

Customer Example: Financial Customer Advisory Service

Page 28: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

28

How to get started?

Public

On-Site

Data Analytics

Application Development

Code Generation

Page 29: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

29

Model-Based

DesignImplementing MBD Workflow

Model Management and

Architecture

Verification and Validation

Polyspace©

Polyspace Code ProverTM

STATEFLOW®

Event-Based Modeling

Code GenerationRapid Prototyping and HIL-

Simulation

Embedded Systems

FPGA Design

Generating HDL Code

Xilinx Zynqc SoCs

AUTOSAR

MATLAB®

SIMULINK®

Application-

Specific Control System Design

Signal Processing

Communication Systems

LTE Systems

Image and Video

ProcessingImage Processing

Computer Vision

Computational

FinanceRisk Management

Time-Series Modelling

Application

DevelopmentProgramming Techniques

Building Interactive

Applications

Object-Oriented Programming

Data AnalyticsData Processing and

visualization

Statistics

Machine Learning

Optimization Techniques

Parallel Computing

Code GenerationMATLAB Coder

Interfacing with C-code

Signal ProcessingUsing MATLAB

Using Simulink

Code IntegrationIntegrating C and MATLAB

SimscapeTM

General SimscapeTM

Simscape MultibodyTM

Simscape DrivelimeTM

Simscape FluidsTM

Simscape Power SystemsTM

https://nl.mathworks.com/services/training.html

Page 30: Integrate MATLAB Analytics into Enterprise Applications › content › dam › mathworks › ... · your Desktop to explore, analyze, gain insights and to develop analytics MATLAB

30© 2017 The MathWorks, Inc.

© 2017 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks

for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.