B22 A SMALL STEP SIDEWAYS
Make a small experiment repeatable
Your model's slope came out 2.88. Run it again and it's 3.24. Write a small NumPy experiment you can check, rerun, and trust, one function, one shape, and one seed at a time.
LESSON OVERVIEW11 min lesson
Lesson overview
Your model's slope came out 2.88. Run it again and it's 3.24. Write a small NumPy experiment you can check, rerun, and trust, one function, one shape, and one seed at a time.
What you’ll explore
- Write a small Python experiment with named functions, checked array shapes, and a seeded random generator, and report results across several seeds with the settings needed to rerun them.
GO TO THE SOURCE
Original explanations, connected to the research.
Python tutorial — official documentationNumPy — absolute beginners’ guideSuggest a correction
A precise note can make an explanation better.
Choose the scene and describe what needs attention. Download a feedback file to share through a channel you already use. This page does not send feedback or connect you with a reviewer.