Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 2 of 10 in this unit

Understand Neural Networks · ORIGINAL LEARN AI LESSON

Examples are measurements.

Inspect missing values, copied requests, unit mismatches and conflicting labels before treating a table as evidence.

By the end: Distinguish features, labels, observations and sampling units; explain how measurement choices alter a summary.

Start with the exampleJump to the experimentRead the explanation
Prerequisites and path options

Why learn this? Notice how collection choices shape the evidence before trusting a dataset’s columns as reality.

01 · TRY

Start with something concrete.

A spreadsheet has six rows. Does that mean six independent requests, six different people or six reliable labels? Before calculating a score, inspect what each row actually records and how it entered the table.

Try the interactive model
02 · PREDICT
Before you experiment

A blank “hours until event” cell is replaced with zero. What assumption has been added?

A blank “hours until event” cell is replaced with zero. What assumption has been added?
03 · EXPERIMENT

Change one thing. Watch what follows.

Loading this browser experiment…

04 · UNDERSTAND
READ & CONNECT

Understand what changed.

Back to the experiment

A shorter explanation, with the original worked examples available below. Both explain the same experiment and its limits.

Same learning goal in both modes: Distinguish features, labels, observations and sampling units; explain how measurement choices alter a summary.

The idea in everyday terms

A dataset records measurements, not reality without interpretation. A feature is an input measurement; a label is the recorded answer. The thing you want to make claims about may be a person or request, even when several rows describe it.

What to watch in the experiment

Inspect units, missing values and repeated observations before counting examples. Ask how a label such as “urgent” was defined and who supplied it. Two people can disagree because they use different rules, not because a value was copied incorrectly.

What this does not establish

Repairing units does not settle disputed labels, and more rows do not necessarily mean more independent cases. This is a measurement audit, not a trained model.

Open the full worked examples, calculations and limitations

This is the same reference used in Technical mode. Expand it whenever you need the exact numbers, assumptions or further explanation.

Rows come from a collection process

A feature is input information such as time until an event. A label records a target such as whether the request is urgent. An observation is a recorded example. The sampling unit is the thing you intend to count or make claims about: a request, person, site or time period. These are not interchangeable.

The lab’s six fictional rows contain five request IDs because request A was copied into another export. Five requests still need not mean five people. One person could submit several requests. The sample is the observed collection; the population is the wider set you hope to describe. Neither the number of rows nor their neat appearance proves representative coverage.

Units change the meaning of a number

Row 2 records 180 minutes while other rows use hours. Adding these raw values produces a number with mixed units, not a meaningful average duration. Convert before comparing:

180 minutes×1 hour60 minutes=3 hours180\ \text{minutes}\times\frac{1\ \text{hour}}{60\ \text{minutes}}=3\ \text{hours}

The conversion factor is one hour per sixty minutes. The minute units cancel, leaving hours. After conversion and removal of the known copied row, the observed durations are 2, 3, 48 and 24 hours. The missing duration remains unknown.

observed mean=2+3+48+244=774=19.25 hours\text{observed mean}=\frac{2+3+48+24}{4}=\frac{77}{4}=19.25\ \text{hours}

The numerator is a sum in hours and the denominator is the count of observed entries. This is the mean of the four observed durations, not automatically the mean for all five requests or for future requests.

A blank is not zero

Zero hours means the event is now. A missing deadline does not say that. If you insert zero, the arithmetic becomes 77 / 5 = 15.4 hours because you have invented a fifth observation. The workbench makes this consequence visible instead of treating filling as a harmless formatting choice.

Omitting a missing value is also a decision. If people with urgent or confusing requests are more likely to omit the deadline, the observed mean can be unrepresentative. Investigate how values go missing, document the policy and avoid unsupported conclusions. Later, when fitting preprocessing for a model, use training data only to estimate any filling values.

Repeated rows change weighting

Keeping the copied A row counts the two-hour request twice. After unit conversion, the mean becomes (2 + 3 + 48 + 2 + 24) / 5 = 15.8 hours. This difference is caused by extra weight on one request, not by new evidence about the population.

The lab identifies one exact copied export. In real data, similar feature values do not prove two records are duplicates. Different requests may happen to look identical, and repeated measurements may be intentional. Inspect identities and provenance before deleting or merging records. Group related observations appropriately when evaluating a model.

Label agreement is about the same examples

Annotators A and B label the same total number of requests urgent, yet disagree on rows 2 and 6. A total discards which requests received the label. Compare row-level labels and ask whether the target definition, available context or measurement process explains the difference.

More voting may make a procedure more consistent but does not automatically reveal a single objective truth. Document uncertain or disputed cases, preserve the original evidence and seek an appropriate resolution process. Repairing units cannot resolve disagreement about what “urgent” should mean.

The workbench is a measurement audit, not model training. Use it to distinguish units, missingness, repeated observations, label definitions and sampling coverage before moving to the data-quality and leakage lesson.

05 · APPLY
Check your understanding

Two annotators each label 2 of 5 requests urgent. Does that prove they agree on the labels?

Two annotators each label 2 of 5 requests urgent. Does that prove they agree on the labels?
06 · CONTINUE

Take this idea with you.

A row is an observation created by a process. Name the sampling unit, preserve unknowns, reconcile units and inspect disagreement before fitting a model. Splitting and train-only preprocessing come next.

My Learning
Explore related topics and the topic map

How this topic connects

Explore this topic on the interactive map

Use these connections to review a foundation or choose where to go next. You can open any topic without completing the others.

What it builds on

  • Define the task

    Turn a vague request to use AI into a prediction task with a useful outcome you can measure.

  • Averages

    Combine outcomes with their frequencies or probabilities, keeping the denominator explicit when interpreting this lesson’s evidence.

You are hereExamples are measurements

Inspect missing values, copied requests, unit mismatches and conflicting labels before treating a table as evidence.

What it enables

Original Learn AI lesson ·Continue to data quality and leakage