AI

June 1, 2026 6 min read

Machine Learning Notation - From Flight Logs to Symbols

Decode the secret language of machine learning notation through an RC flight log story — from rows and features to inputs, labels, indexed values, and predictions.

Stories by Sagar Kharel

The Flight Log Comes First

An RC plane club has been keeping a small flight log.

Some flights land cleanly. Some do not.

The question is simple:

Can we look at a few flight conditions and predict whether the landing will succeed?

Flight ID
Wind (mph)
Battery (%)
Time (min)
Land
F001
8
92
14
F002
22
35
9
F003
12
81
16
F004
28
41
7

This is where machine learning begins.

Not with symbols.

With records.


Rows and Columns: RC

Our dataset is a table of notes from RC flight experiments.

Each row records one flight: what we observed before landing, and whether the landing succeeded.

Each column tells us one thing about the flight: Wind, Battery, Time, or Landing.

We want the model to look at the first three columns and predict the last column.

Rows move down the table.

Columns move across the table.

The plane gives us the memory hook:

R = Row
C = Column


Features and Label

Now we can split the columns into two groups.

Wind, Battery, and Time are features — the model’s input.

Flight ID is not a feature.

It is just the row name.

The model learns from Wind, Battery, and Time.

Land is the label — the output we want the model to predict.

In machine learning notation, we use x for features and y for the label.

Because models work better with numbers, we turn Landing into a simple code:

11 means the landing succeeded.
00 means the landing failed.

For flight F001, the model sees wind 8, battery 92, and a 14-minute flight:

x=[8,92,14]x = [8, 92, 14] y=1y = 1

For flight F002, the model sees wind 22, battery 35, and a 9-minute flight:

x=[22,35,9]x = [22, 35, 9] y=0y = 0

That is the first notation move:

x is the input.
y is the output.


The Shape of the Data

Now we can describe the shape of the dataset.

nn is the number of rows.

These are our training examples.

We logged 4 flights:

n=4n = 4

mm is the number of features.

These are our input columns.

We tracked Wind, Battery, and Time:

m=3m = 3

Notice what we left out.

We did not count the label column: Land.

Land is the answer key, never a feature.


Pointing Inside the Table

Now that we know the shape, we need a way to point inside the table.

ii points to a row.

Since there are nn rows, ii can go from 11 to nn:

1in1 \le i \le n

jj points to a feature column.

Since there are mm features, jj can go from 11 to mm:

1jm1 \le j \le m

Back to the RC hook:

Rows use nn and ii.

Columns use mm and jj.

So:

ii steps down. jj steps across.


One Row, One Feature, One Answer

Sometimes we do not want the whole input row.

We want one specific input value from one specific flight.

For example: the Wind value from flight F001.

That sentence has three pieces:

input value, row, and feature column

Now we give each piece a symbol:

input value → xx
row → ii
feature column → jj

So the notation becomes:

inputColumn(Row)xWind(F001)\text{input}_{\text{Column}}^{(\text{Row})} \rightarrow x_{\text{Wind}}^{(\text{F001})}

For flight F001, Wind is the first feature column, and the landing succeeded:

x1(1)=8andy(1)=1x_1^{(1)} = 8 \quad\text{and}\quad y^{(1)} = 1

For flight F002, Wind is also the first feature column, but the landing failed:

x1(2)=22andy(2)=0x_1^{(2)} = 22 \quad\text{and}\quad y^{(2)} = 0

Read it as:

row ii, feature column jj


Bringing It All Together

input (Row) Column
x (row) feature
x (i) j
1 ≤ i ≤ n
1 ≤ j ≤ m

Now play with the table below.

Move ii down the rows.

Move jj across the feature columns.

Watch how xj(i)x_j^{(i)}, x(i)x^{(i)}, and y(i)y^{(i)} change together.

Features (x)
Label (y)
Flight ID
Wind
Battery
Time
Landing
F001
8
92
14
Yes
F002
22
35
9
No
F003
12
81
16
Yes
F004
28
41
7
No
One Input Value
x (1) 1 = 8
Whole Input Row
x (1) = [8, 92, 14]
Answer For Row
y (1) = Yes

Flight Log Field Notes

The RC Flight Log

The dataset. A notebook of what we observed.

The RC Flight Log. The dataset. A notebook of what we observed.

Quiz

86% of people love quizzes after learning. Are you one of them?

Question 1 of 12 🏆 0 / 120 ⚡ Attempt 1 of 2

Question text