liveBook · Manning

Cost

As explained in Delivering Machine Learning Projects: From design to deployment

Cost is the monetary expense associated with deploying or operating a model and its required components.

Cost is the monetary expense of deploying or operating a model and its required components. Treat it as a nonfunctional requirement alongside latency, throughput, memory footprint, privacy, and production robustness. section 8.2.7 section 7.3.1

Assess cost before selecting a model:

  • Inventory licensed subcomponents and other infrastructure dependencies that add operating expense. section 8.2.7
  • Estimate the effect of execution volume; a model run millions of times can make infrastructure costs prohibitive. section 7.3.1
  • Compare cost with latency, memory requirements, carbon impact, and functional performance rather than optimizing one measure in isolation. section 8.2.7 section 7.3.1
  • Record the requirement during pre-project or presales work and test it before approving deployment. section 8.2.7

High-volume inference

A classifier that performs well functionally may still be rejected when millions of executions make its infrastructure cost prohibitive. A simpler or pretrained component can reduce project risk, but may trade away performance. section 7.3.1 section 8.2.7

How Delivering Machine Learning Projects: From design to deployment covers it

How deep it goes
Defines cost, identifies licensed components and execution volume, and stops short of a detailed pricing or estimation method.
Examples
Uses licensed subcomponents and millions of classifier executions to illustrate how deployment choices create expense.
What you can do after
Evaluate model candidates against execution volume, infrastructure expense, and competing nonfunctional requirements before deployment.
How it connects
Connects cost with nonfunctional requirements, latency, throughput, memory footprint, carbon impact, privacy, and project risk.

Also explained in

Compare how 10 books explain cost →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Delivering Machine Learning Projects: From design to deployment. The section links point to the parts of the book it draws on.