Skip to main contentSkip to navigationSkip to footer
DigiTransact AI Education Centre Start Learning

Level 4 · Module 20 · 10 minutes

Prepare a small table of data

What you will learn
  • Describe the rows, feature columns and target column of a training table.
  • Apply simple rules for choosing features and handling missing values and units.
  • Explain why the studio's small table limits mean results are practice estimates.

Most beginner models learn from a table: one row per example, one column per measurement, and one column holding the answer. The answer column is the target. The other columns are features, and only the features will be available when a new case arrives. Preparing that table well matters more than choosing a clever method.

The shape of the table

Each row should describe one real case: one bicycle, one delivery, one batch. Each column should be a measurement or a category recorded the same way for every row. The target column holds the known answer for training. Keep a copy of the original file untouched, so you can always return to it.

Choosing features

This choosing of columns is called feature selection. Fewer well-chosen features usually beat many noisy columns, especially on a small table.

Missing values and units

Blank cells need a decision: remove the row, or fill the gap with a simple value and record what you did. Filling every gap with the average is common but can bias the model. Check that units are consistent: a distance recorded in different units in different rows will confuse any method. The studio accepts numeric features only, so text categories must be turned into numbers or set aside.

Limits of the studio

The studio takes a spreadsheet file of about one megabyte and at most five hundred rows. That limit is deliberate: it keeps training fast in a browser and makes the table small enough to learn from. A small table is also a warning: any score from it is an estimate for practice, not a claim about the wider population.

Practice versus real training

Preparing a table is real data work, not a simulation of it, but no model is trained in this step. In a real project the same decisions are recorded and reviewed, and the table is versioned so that every later result can be traced back to the data that produced it. A commercial pipeline adds automated checks, but the choices about columns and targets are still made by people.

Common misconception

More columns always give a model more information to work with, so include everything. Extra columns add noise, cost and ways for the answer to leak in. Identifiers, free text and columns recorded after the decision usually hurt. A small set of consistent, available features is easier to check, easier to explain and often performs better on a modest table.

Guided practice

Design a table for the hypothetical bicycle pricing question. Write the target column and six candidate feature columns, then mark each feature yes or no for availability at the moment of pricing. Remove the no columns and one redundant column, and write how you will handle a blank cell. Then write the studio limit you must respect. No model is trained in this step.

Knowledge check

1. What is the target column?

2. Which feature is a poor choice?

3. Why must text categories be handled or set aside in the studio?

Independent practice

Write a short example from your own work or daily life and decide whether it is AI, ordinary software or a mixture. Then explain why. Save it in your notes; no account is required.

Last reviewed: · Report a problem

Last updated: