Demand function
A model that maps conditions such as price, time, and context to expected demand for a product, service, or activity.
Applied Reinforcement Learning
A demand function maps relevant conditions such as price and time to the quantity of a product that customers are expected to buy.
- How it is used
- Models customer demand to support dynamic pricing for a perishable product with fixed inventory and a limited selling window.
- How deep it goes
- Defines a price-, time-, and noise-dependent demand calculation, while leaving strategic customer learning outside the model.
- Examples
- Uses perishable-product pricing with rising deadline urgency, price-sensitive demand, random noise, and inventory-limited sales.
- What you can do after
- Understand how price, urgency, and random variation shape potential sales in a fixed-inventory pricing simulation.
Read how Applied Reinforcement Learning explains demand function →
Delivering Machine Learning Projects: From design to deployment
A demand model predicts the quantity or likelihood of demand for a product, service, or activity under specified conditions.
- How it is used
- Uses weather forecasts before prediction to estimate whether customers will cycle or shelter on buses.
- How deep it goes
- Connects forecast timing and customer behavior to model requirements but specifies no algorithm, formula, or evaluation metric.
- Examples
- Uses forecast weather to distinguish cycling demand from bus travel.
- What you can do after
- Apply it by converting forecast conditions into a concrete demand-prediction requirement.
Read how Delivering Machine Learning Projects: From design to deployment explains demand function →
Related concepts
- market demandproduces · Market demand is the quantity of a good or service that customers seek or are willing to purchase under specified conditions, such as price and time period.
Questions about demand function
What is demand function?
A model that maps conditions such as price, time, and context to expected demand for a product, service, or activity.
Which Manning books explain demand function?
Applied Reinforcement Learning and Delivering Machine Learning Projects: From design to deployment.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

