# How to Test ML Code - ML 091 Page: https://stenobird.com/podcast/adventures-in-machine-learning/how-to-test-ml-code-ml-091 Text version: https://stenobird.com/podcast/adventures-in-machine-learning/how-to-test-ml-code-ml-091.md Podcast: [Adventures in Machine Learning](https://stenobird.com/podcast/adventures-in-machine-learning) Published: 2022-10-20T10:00:00+00:00 Episode link: https://topenddevs.com/podcasts/adventures-in-machine-learning/episodes/how-to-test-ml-code-ml-091 Audio file: https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/58842087/stream.mp3 Processing state: failed JSON: https://stenobird.com/v1/public/podcasts/adventures-in-machine-learning/episodes/how-to-test-ml-code-ml-091 Duration seconds: 2673 ## Resource In this show, we cover some practical tips for writing reliable ML code. Here are some of the questions we look to answer... What are tests and why should you use them? What's the difference between unit tests and integration tests? What should you test? How should you write tests in python? (the answer is to use pytest) Sponsors Top End Devs Coaching | Top End Devs Enov8, who provides test data management Advertising Inquiries: https://redcircle.com/brands Privacy & Opt-Out: https://redcircle.com/privacy Become a supporter of this podcast: https://www.spreaker.com/podcast/adventures-in-machine-learning--6102041/support . ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/adventures-in-machine-learning/episodes/how-to-test-ml-code-ml-091/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/adventures-in-machine-learning/how-to-test-ml-code-ml-091.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.