Top Banner
ANALYTICS WITHOUT LOSS OF GENERALITY http://wlogsolutions.com/en/
25

ANALYTICS WITHOUT LOSS OF GENERALITY

Apr 12, 2017

Download

Data & Analytics

Wit Jakuczun
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ANALYTICS WITHOUT LOSS OF GENERALITY

ANALYTICS WITHOUT LOSS OF GENERALITY

http://wlogsolutions.com/en/

Page 2: ANALYTICS WITHOUT LOSS OF GENERALITY

AbstractWe are now in a "competing on analytics" (aka data-science) era. Unfortunately mostly it is understood as predictive modelling. We would like to show that data science is much more than this. We will present general architecture of any data science solution using selected case studies from our projects.

Copyright (c) WLOG Solutions 2

Page 3: ANALYTICS WITHOUT LOSS OF GENERALITY

Why is it important?

Copyright (c) WLOG Solutions 3

Page 4: ANALYTICS WITHOUT LOSS OF GENERALITY

Motivating example

Customer

• I want to improve demandforecasting model(s).

Me

• Why do you need forecastsfor?

Customer

• To make optimal resourceallocation.

…• …

Copyright (c) WLOG Solutions 4

Data ForecastsResource

allocation

Stages of the whole decision process

Page 5: ANALYTICS WITHOUT LOSS OF GENERALITY

Why is it important?

• Companies want to compete on analytics at any business

level which means

• predictive analytics is not enough,

• optimization is a must to generate optimal recommendations at

low business level,

• simulation is a must to understand influence of unpredictable

factors,

• analytical toolbox must be flexible to minimize time-to-market.

Copyright (c) WLOG Solutions 5

Page 6: ANALYTICS WITHOUT LOSS OF GENERALITY

What one can gain?

• More precise recommendations leads to better decisions.

• Automated decision making process leads to controllable

costs and safer business.

• Less expert guessing leads to healthier business.

• General problem tackling leads to minimized time-to-

market.

Copyright (c) WLOG Solutions 6

Page 7: ANALYTICS WITHOUT LOSS OF GENERALITY

Analytics Without Loss Of Generality

Copyright (c) WLOG Solutions 7

Page 8: ANALYTICS WITHOUT LOSS OF GENERALITY

Analytics without loss of generality

Data analysis

What are the facts?

How we can use them for our Organisation?

How the facts support/deny our expert knowledge?

Optimization

What are optimal course of actions?

How far are my decisions from being optimal?

Simulation

What are possible future scenarios?

How can I measure risks that our Organization is exposed to?

Copyright (c) WLOG Solutions 8

Page 9: ANALYTICS WITHOUT LOSS OF GENERALITY

What are the main requirements for an analytical framework?

Flexible

• Can tackle anybusiness problem

Accessible

• Can do a prototype fast and cheap

Scalable

• Can scaleusing moremachines

Efficient

• Can get goodquality modelsfast

Copyright (c) WLOG Solutions 9

Page 10: ANALYTICS WITHOUT LOSS OF GENERALITY

WLOG* Analytics architecture™ (1)

Copyright (c) WLOG Solutions 10

*WLOG = Without Loss of Generality

Page 11: ANALYTICS WITHOUT LOSS OF GENERALITY

WLOG* Analytics architecture™ (2)

Flexible

•R

•Python

Accessible

•Open-sourcewhere possible

Scalable

•Spark

•Cloud

Efficient

•Selected and tested libraries

•Java if needed

Copyright (c) WLOG Solutions 11

Page 12: ANALYTICS WITHOUT LOSS OF GENERALITY

Our toolbox (1)

Distributed computing

Flowmanagement

Visualization

Copyright (c) WLOG Solutions 12

Page 13: ANALYTICS WITHOUT LOSS OF GENERALITY

Our toolbox (2)

ETL

•Spark

•R

•Python

Predictivemodelling

•R

•H2O

•MXNET

•XGBOOST

Optimization

•COIN-OR

•ECLiPSe

•Choco

•Gecode

•Java (!)

Simulation

•R

•MASON

•Spark

•Julia (testing)

Visualization

•Python

•Javascript

Copyright (c) WLOG Solutions 13

Page 14: ANALYTICS WITHOUT LOSS OF GENERALITY

What did we get as a result?

• Flexible,

• productive,

• scalable,

• with great price to quality ratio

platform to tackle almost any business problem.

Copyright (c) WLOG Solutions 14

Page 15: ANALYTICS WITHOUT LOSS OF GENERALITY

Case studies

Copyright (c) WLOG Solutions 15

Page 16: ANALYTICS WITHOUT LOSS OF GENERALITY

Case studies

• Cash optimization in Deutsche Bank

• Midterm Energy price simulation

Copyright (c) WLOG Solutions 16

Page 17: ANALYTICS WITHOUT LOSS OF GENERALITY

Cash optimization in Deutsche Bank (1)

Copyright (c) WLOG Solutions 17

CENTRAL

BANK

GROUP OF COOPERATING BANKS

VAULT

VAULTBRANCH

ATM

CORPORATE

CUSTOMER

RETAIL

CUSTOMER

deposit or

withdraw

deposit or

withdraw

buy or sell

buy or sell

closed

payment

closed

payment

closed

payment

cash

transfer

cash

transfer

Page 18: ANALYTICS WITHOUT LOSS OF GENERALITY

Cash optimization in Deutsche Bank (2)

ETL

•End-of-day process

•Current balances

Demandforecasting

•Around 800+ forecasts

•Done in R

Cash movementrecommendations

•Done in CBC

•Workflow in R

Copyright (c) WLOG Solutions 18

Page 19: ANALYTICS WITHOUT LOSS OF GENERALITY

Example

Copyright (c) WLOG Solutions 19

Before optimization:

Time: 3 months

Deposit transports: 20

Withdrawal transports: 0

After optimization:

Time: 3 months

Deposit transports: 3

Withdrawal transports: 0

Page 20: ANALYTICS WITHOUT LOSS OF GENERALITY

Midterm Energy price simulation (1)

Copyright (c) WLOG Solutions 20

Statistical model for SPOT prices

Marginal costs

fundamental

model

Balancing market

fundamental

model

Demand model Supply model

• Complex model consisting of 5

submodels.

• Simulation is done on model

parameters:

• Temperature

• Wind

• Regulation

• Fuel prices (e.g. coal)

Page 21: ANALYTICS WITHOUT LOSS OF GENERALITY

Example

Copyright (c) WLOG Solutions 21

9 scenarios:

1. Temperature: low, medium, high

2. Wind: weak, medium, strong

Montecarlo simulations

1. Temperature & wind

2. Peak probabilities

Page 22: ANALYTICS WITHOUT LOSS OF GENERALITY

Summary

Copyright (c) WLOG Solutions 22

Page 23: ANALYTICS WITHOUT LOSS OF GENERALITY

Key points

• Prediction is just a step to make a decision (optimal).

• Data science is expected to support any business decision.

• One should have tools covering three aspects: predictive,

optimization and simulation models.

• Open-source gives us flexibility and a great price/quality ratio.

Copyright (c) WLOG Solutions 23

Page 24: ANALYTICS WITHOUT LOSS OF GENERALITY

Copyright (c) WLOG Solutions 24

Q&A

Page 25: ANALYTICS WITHOUT LOSS OF GENERALITY

Wit Jakuczun, PhD

CEO

Email: [email protected]

Mobile: +48 601 820 620

Skype: jakuczun

WWW: http://www.wlogsolutions.com/enCopyright (c) WLOG Solutions 25

Thank you!