Gate: Python for this course (AI off)
Why it matters Pass this and you are ready for the rest of the course. Already know Python and NumPy? You can take this gate first, before the other lessons: passing it marks this module done and opens the next one.
Six short tasks, AI tutor off. Everything here was covered in the lessons above.
Words and symbols in this lesson
- array
- a NumPy block of numbers, all the same type, that does maths on every item at once
- mean, spread
- the average, and roughly how far values sit from it (standard deviation)
- epoch
- one full pass over the training data
count_above(xs, limit): how many numbers in a list are strictly abovelimit.column_means(X): the mean of each column of a 2D array.standardise(X): each column to mean 0 and spread 1 (columns with spread 0 become zeros).center_crop(img, size): thesizebysizesquare in the middle of a square image (the image side and size are both even).best_epoch(val_loss): the epoch number, counting from 1, with the lowest value.letter_counts(text): a dictionary of how often each letter a to z appears, ignoring case and anything that is not a letter. Only letters that appear are keys:letter_counts("Aa b!")is{'a': 2, 'b': 1}.
AI off: no tutor, hints or worked solution on this one. Your own thinking only.
Spotted a problem in this lesson? Report it · Ask about this lesson
Your progress is counted anonymously. Change this
This exercise opens soon
Finish the lesson before it and this one unlocks. The whole course is free, no account needed, and you can read this lesson right now.
This browser is blocking cookies for learn.floati.life, so lessons you finished here cannot open in order. Allow cookies for this site and reload.