Neuron 101

Learning from examples / Data, features and labels

Türkçe

Plate23

Unit 3 · Topic 2 of 11

Data, features and labels

Easy, 5 min, 8 steps

temp.sales122515261835203323422648294832560102030010203040506070temperature, degreesice creams sold
Keyboard: left and right arrows change the step, space plays and pauses.

Step 1 of 8 Table

A table

The ice cream seller wrote eight days into a table. Each row is one day, that is one example. We have 8 examples.

Open in Colab
  1. gunler = [
  2. (12, 25), (15, 26),
  3. (18, 35), (20, 33),
  4. (23, 42), (26, 48),
  5. (29, 48), (32, 56),
  6. ]
  7. x = [g[0] for g in gunler]
  8. y = [g[1] for g in gunler]
  9. i = 6 - 1
  10. print(len(gunler), x[i], y[i])
  11. yarin = 27
satir
6
sx
26
sy
48
n
8