SpinTheMic
Pro

Interview practice question

Making a notebook's results reproducible

Machine Learning · ML Frameworks · Beginner

Your model's accuracy differs every time you run the same notebook. How do you make it reproducible?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Set random seeds (random_state, NumPy, PyTorch).
  • Fix data splits.
  • Restart kernel and run all to avoid hidden state.
  • Pin library versions.
  • Some GPU nondeterminism remains.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics