Problem definition
A problem definition is a precise specification of a problem’s context, objectives, relevant inputs or conditions, constraints, and criteria to guide analysis or solution.
AI for Everyday IT
Problem formulation is the process of defining and structuring a problem precisely so that it can be analyzed and solved effectively.
- How it is used
- Uses domain knowledge to turn broad workplace goals into structured requests that guide AI toward practical outputs.
- How deep it goes
- Explains definition, rationale, requirements, and workplace application through sorting and project-management examples, without covering model internals.
- Examples
- Demonstrates Python sorting requirements, a paint-by-numbers template, and an Oracle database migration documentation request.
- What you can do after
- Apply it to create more targeted AI requests and organize work-ready deliverables.
Get Programming: Learn to code with Python
A description of the task a program is expected to accomplish, including relevant inputs, interactions, and outputs.
- How it is used
- Frames the task before coding by identifying what the program must accomplish and how it should behave.
- How deep it goes
- Gives a planning checklist and walks through sketches, sample cases, and pseudocode; leaves implementation steps to be worked out.
- Examples
- Uses bread requests of varying specificity and a two-name mashup with varied test inputs.
- What you can do after
- Practice/perform it by sketching inputs and outputs, choosing test cases, and dividing a task before coding.
Read how Get Programming: Learn to code with Python explains problem definition →
Starting Data Analytics with Generative AI and Python
A precise formulation of the real problem that an analysis is intended to address.
- How it is used
- Frames an initial business question before analysis begins, connecting it to the decision the analysis should support.
- How deep it goes
- Moves from surface symptoms to underlying business problems and scope, while deferring the later analytical workflow.
- Examples
- Uses patient waiting times on Tuesdays and customer loyalty-card use as initial questions requiring deeper interpretation.
- What you can do after
- Apply it via guided questions to convert a received request into a more valuable, decision-enabling analytical starting point.
Read how Starting Data Analytics with Generative AI and Python explains problem definition →
Machine Learning System Design
A concise written description of a problem, including its relevant goals, context, and important characteristics.
- How it is used
- Frames the organizational problem before beginning ML system design or selecting technical approaches.
- How deep it goes
- Builds a top-down questioning process from helicopter-level statements to problem nuances and valuable data.
- Examples
- Uses fraud attacks, weak margins, manual tuning, and low user engagement as workplace problem statements.
- What you can do after
- Evaluate/understand an ML initiative's broad goal and identify the information needed before implementation begins.
Read how Machine Learning System Design explains problem definition →
Build Financial Software with Generative AI (From Scratch)
Problem formulation is the practice of specifying a problem's context, objective, constraints, and observable failure precisely.
- How it is used
- Uses precise problem definition to guide generative-AI requests and obtain code aligned with developer intent.
- How deep it goes
- Defines clarity, concision, correctness, and examples for prompts, but does not develop a formal requirements method.
- Examples
- Uses progressively refined Python balance-formatting examples, moving from direct printing to a typed function that returns a string.
- What you can do after
- Apply it via prompt engineering to request clearer, more reusable generated code.
Read how Build Financial Software with Generative AI (From Scratch) explains problem definition →
Machine Learning Platform Engineering
Problem formulation is the process of translating a real-world objective into a precisely defined machine learning problem with suitable inputs, outputs, and success criteria.
- How it is used
- Frames the business objective, technical feasibility, data needs, and governance constraints before model development begins.
- How deep it goes
- Provides a stakeholder question set and lifecycle placement, but stops short of specifying implementation algorithms or code.
- Examples
- Contrasts vague customer-churn prediction with vehicle-price prediction and uses stakeholder questions as a practical checklist.
- What you can do after
- Apply it by aligning stakeholders on the task, success metrics, data, risks, deployment approach, and retraining signals.
Read how Machine Learning Platform Engineering explains problem definition →
Related concepts
- prompt engineeringcontrasts with · Prompt engineering is the deliberate design and refinement of instructions, context, examples, or other inputs to guide an AI model’s behavior or outputs.
- constrainthas part · A constraint is a condition or rule that restricts the permissible states, values, actions, or solutions in a system or problem.
- decision variablehas part · A decision variable is a quantity whose value is chosen by an optimization model to represent an available decision.
- objective functionhas part · An objective function assigns values to candidate solutions, predictions, or parameter settings according to a criterion to be minimized or maximized.
- inverted pyramid schemeproduced by · A top-down problem-analysis technique that begins with a broad high-level statement and progressively investigates more specific details and nuances.
- machine learning workflowpart of · A machine learning workflow is an organized sequence of activities for formulating, developing, evaluating, deploying, operating, and maintaining a machine learning system.
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.





