Problem and data card
Quick answer
A project begins with a decision, not an algorithm. In this capstone, predict an equipment temperature (degrees Celsius) one interval ahead to help an operator prioritize inspection. The model never autonomously changes a machine setting. Objective: Specify a measurable prediction task, admissible inputs and dataset provenance. Examples are local, synthetic and not verified in ByteMind.
Filter available measurements
rows = [(1, 4), (2, 6), (3, 5)]print([i for i, available in rows if available <= 5])Expected output (locally tested): [1, 3]. The boundary at the decision timestamp is inclusive.
How it works
Define the prediction timestamp, horizon, unit, consumer and cost of errors before collecting data. A data card records origin, generation seed, schema, units, row count, timestamps, exclusions, split policy, permitted uses, missingness and limitations. A sensor value is admissible only if its availability timestamp is at or before the decision. The target must occur after the decision; its eventual value belongs in training labels, not the input. The supplied 320-row fixture has independent synthetic draws in chronological order, no real assets or personal data, and an injected change in the target relationship after row 279. Its data card must not imply a verified real-world distribution. A median predictor, fixed engineering rule or operator inspection is a meaningful alternative. Define success as lower mean absolute error (MAE) than a train-only median baseline on a locked test and require a separate release review. A low MAE alone does not establish safety.
Separate label and decision times
rows = [(1, 3, 4), (2, 6, 6), (3, 9, 8)]print([i for i, decision, label in rows if decision < label])Expected output (locally tested): [1]. Only a strictly later target belongs to this forecast contract.
Common mistakes
Do not use measured future temperature as a feature. Do not treat event time as availability time. Never present a synthetic dataset as operational evidence or infer a license for third-party data.
Practice and next steps
Write the task contract with timestamp, target, unit, decision owner and alternative to ML. Mark which fields are available at prediction time. Link the data card to the versioned fixture.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Problem and data card — knowledge check
Apply problem and data card to scenarios and small examples.
What is the prediction target here?
Which input violates the contract?
What belongs in a data card?
What is an appropriate non-ML alternative?
What can synthetic data establish?