← Back to Publications

Prescriptive Analytics

What Should We Do?

Predictive analytics says what will happen. Prescriptive analytics says what you should do about it. It is where analytics finally meets the decision: a forecast becomes a recommended action by weighing scenarios against the business's rules and constraints, then choosing the option that delivers the best expected outcome. A prediction nobody acts on changes nothing — prescriptive analytics closes that gap.

This is a four-chapter mini-series built around one concrete decision: how to split a fixed marketing budget across channels. Each chapter shows the Python and the rendered result, and the optimization is real scipy.optimize.linprog — only the expected-return inputs are illustrative (the kind a predictive model would supply).

Prediction + scenarios + constraints → best action Prediction expected return Scenarios what-if levers Optimize maximize under limits Constraints & rules budget · policy Recommended action

A predicted outcome is only an input; prescriptive analytics adds scenarios and constraints, then optimizes to a single recommended action.

The Four Chapters

Reference Code

The scenario-modeling and constrained-allocation helpers are packaged in the Data Analytics Library's prescriptiveanalysis module. Prescriptive analytics is the final stage of the lifecycle: it consumes Predictive outputs and closes the loop that began with Descriptive ("what happened").

← Back to Publications