Student Performance Prediction · Project

Student Performance Prediction · Phase 5 · Lesson 2 of 3

Reproducible Notebook and Handover Package

Clean up the notebook so anyone can re-run it from top to bottom, add a README and requirements, and package everything for the instructor and the school.

What you need

A computer with a web browser and a free Google account for Google Colab, or Python with Jupyter installed locally. Libraries: pandas, scikit-learn and matplotlib (all free).

In this lesson you will

  • Make the analysis reproducible
  • Prepare a clear handover package

Key concepts

reproducibilityrandom seedrequirements fileREADMEhandover

The lesson

A reproducible notebook runs from a fresh start to the same results. Fix random seeds, remove unused cells, add headings and short explanations, and restart and run all before submitting.

Add a requirements list (library versions) and a README explaining the files, how to run the notebook and where the synthetic data came from.

Package the notebook, data dictionary, model card and report together. Do not include any real student data.

Step by step

  1. Restart the notebook and run all cells.
  2. Fix seeds and remove dead code.
  3. Write the README and requirements list.
  4. Package the deliverables.

Practice activity

Deliver a reproducible notebook with README, requirements and the full package.

Expected result: A package that another learner can re-run to the same results.

Common mistakes

  • Submitting a notebook that only runs in a certain order
  • Forgetting to record library versions

Check your understanding

  1. Why fix random seeds?

    Show answer

    So splits and models give the same results each run.

  2. What should never be in the handover package?

    Show answer

    Real student data.

Further learning

Projects are instructor-guided: an instructor sets milestones, checks your work and gives feedback, online or in person. Self-study of the public lessons does not lead to a certificate. Enrolment and fees follow the Academy's existing policies — contact the Academy.