[S2E1] Prescriptive Analytics | 5 Minutes With Ingo - YouTube

Channel: RapidMiner, Inc.

[11]
Hey Ingo, do you know what time it is?
[38]
I guess it's time for Five Minutes with Ingo?
[40]
I mean, it's also time for all the rain, look at that.
[44]
But this actually gives me an idea.
[46]
I would like to discuss something which is called 'prescriptive analytics.'
[49]
The idea here is, if you know for example the weather forecast, the prediction for tomorrow,
[55]
you could try to figure out what is the best course of action.
[57]
For example, should you bring your umbrella or not?
[60]
So, let's go over there and discuss this a little bit yes?
[65]
So, the idea behind prescriptive analytics really is you take predictions, and then you
[70]
combine those predictions with optimization schemes.
[74]
So for example let's take the umbrella example.
[76]
If you know it's very likely that it's going to rain tomorrow, should you bring the umbrella?
[79]
Hmm, well, you could just say yeah, sure, why not?
[82]
But I would say, let's have a look at your calendar first, let's figure out if you actually
[86]
need to leave the house.
[88]
So let's say you have an appointment in the office at 8:00 in the morning, then yeah sure,
[91]
take the umbrella because you leave the house.
[93]
But wait, is the office actually close enough to your home?
[97]
So maybe it's not, and you need to take the car.
[100]
So let's say the distance is ten miles.
[102]
You figured this out by looking on a map.
[104]
So now you looked into the calendar, and into the map, so you already had two different
[108]
data sources.
[110]
So, since you need to take the car, the next thing that would be, well everybody's taking
[114]
the car because it's raining.
[116]
So there will be more traffic.
[118]
So you take maybe traffic predictions in as well.
[120]
So you have the rain prediction, you have the map information, you have all these pieces
[125]
of information, bring them together and now the best course of action is actually, well
[129]
take the car, but leave early because everyone will be on the road.
[133]
So here you see, actually how an easy forecast, a weather forecast, can turn into pretty complex
[138]
decision making, well, problem here really.
[142]
And that is an easy case.
[144]
So for most business cases, things are much more difficult.
[147]
So let's think about how analytics in general can help us with that, let's go over to the
[151]
whiteboard and discuss this.
[152]
So in general there are four different styles of analytics.
[155]
Let's start here at the bottom with BI or business intelligence, which really is just
[158]
a look into the past.
[160]
For example a BI report could deliver the piece of information that it has rained 237
[165]
days in the last year.
[167]
And while this might be an important piece of information, it doesn't really tell you
[171]
anything about what is going to happen tomorrow.
[174]
So, this brings me to the next level, if you do this for one year you can do this for multiple
[178]
years, and you can look into the data of multiple years.
[182]
Let's say you had seen 237 days of rain last year, 242 the year before, and then 250 the
[188]
year before that, and based on all those BI reports you can create another prediction.
[194]
You are kind of confident that it is going to rain more than 200 days in the next year.
[200]
While this is a prediction, it doesn't tell you, again, something about tomorrow.
[205]
So, in my opinion also not that useful.
[208]
Brings me to the next level, or layer here which is predictive analytics.
[212]
This is where we use all our machine learning and data science techniques.
[215]
A machine learning model here can actually tell you what is the likelihood of rain for
[220]
tomorrow.
[221]
So if you know there's 95% of a chance of rain for tomorrow, you can at least take this
[226]
into account and do something, let's say bring your umbrella, that is good.
[230]
But doing something is really the keyword here, and that brings me to the top level
[234]
here which is also the level which provides the biggest value.
[238]
Because knowing your future is one thing, but if you are able to change this future,
[242]
that is actually even more valuable.
[245]
And the way how you are doing this is you take those predictions, and you have different
[250]
options for your actions.
[251]
And you go through all those options, you predict how those options will effect your
[257]
future, and then of course you pick the course of action which delivers you the best future
[263]
and let's say the best outcome for tomorrow.
[265]
Not getting wet and getting into the office on time.
[269]
So this is why Prescriptive Analytics is so important, because it provides so much value
[273]
by combining machine learning models and optimization schemes.
[277]
Ingo, can you discuss more about the optimization schemes for our course of action?
[283]
Sure!
[284]
Well in general you can use any optimization scheme.
[287]
So here is a little dataset here on the bottom here.
[290]
We have a couple of columns we created our predictive models on, and you had to predict
[295]
the happiness of people.
[297]
Based on, for example, the type of car they are buying.
[299]
And this is now interesting, because you could basically go through all the car brands and
[303]
all the options just to figure out how would a certain person, how would this car purchase
[310]
effect the happiness of this person.
[313]
And if the number of options are small, you can literally go through all the options.
[317]
And that's kind of a brute force optimization technique.
[319]
But if the search space is very large, you need to use more heuristics to actually get
[324]
to the perfect outcome in a more efficient way.
[328]
One widely used technique, evolutionary algorithms, so they work really for all kinds of different
[333]
problem types and on large search bases.
[335]
And that's it for today, thank you!