Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Think Like a PhD Student

Free · sign in to start and track progress

1 · Asking the question

  • 1The cycle and the question

    Exercise answers

    • Answer: Start the lab notebook and write the hypotheses
  • 2Reading and searching the literature
  • 3Measuring what matters

2 · Designing and running the study

  • 4Designing the experiment
  • 5Pre-registration and trials
  • 6Open coding of failures
  • 7Running an annotation study

3 · Trusting and telling

  • 8Reproducibility and research hygiene
  • 9Analysis and honest reporting
  • 10Writing it up and peer review
CapstoneA small study on the triage agentReference implementation

Module 1 · Asking the question · Lesson 1

The cycle and the question

What a PhD trains that engineering doesn't, why a demo and a trial can't support the claims a study can, the research cycle from question to review, and how to turn "is our agent good?" into a claim with a population, an intervention, a comparison, an outcome and a falsifier.

80 min 2 videos 3 exercises 7-question quiz Answers
Setup for the exercises:Install Claude CodePython with uvThe Quillmoor triage kit

By the end of this lesson you can

  • Distinguish a demo, a trial and a study by the claim each can support, and classify an agent team's claim by the evidence it would need
  • Explain the research cycle and name the steps most engineering evals skip
  • Rewrite a vague worry about an agent as a research question with a population, an intervention, a comparison and an outcome
  • State a hypothesis, its null and the observation that would falsify it, with the minimal effect size that would matter, before seeing any data
  • Separate exposure, outcome, mediator and confounder in an agent experiment

On this page

  • What a PhD trains
  • Demo, trial, study
  • The cycle
  • From "is it good?" to a claim
  • The four parts
  • Hypothesis, null, falsifier, effect size
  • Exposure, outcome, mediator, confounder
  • The lab notebook
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01What a PhD trains
  2. 02Demo, trial, study
  3. 03The cycle
  4. 04From "is it good?" to a claim
  5. 05The lab notebook
  6. 06Connections
  7. 07Summary

Sources & further reading

  • Troubling Trends in Machine Learning ScholarshipPaper · Lipton, Steinhardt · 2018The four habits that turn a study back into a demo, with examples from published ML. Read the sections on explanation versus speculation and on failing to identify the sources of empirical gains before the demo-trial-study drill.
  • Adding Error Bars to Evals: A Statistical Approach to Language Model EvaluationsPaper · Miller · Anthropic · 2024Section 1 makes the case this lesson rests on, that an evaluation is an experiment and should be planned and analysed as one; section 5 is the sample-size formula the minimal effect size feeds into.
  • How to avoid machine learning pitfalls: a guide for academic researchersPaper · Lones · 2021A checklist of mistakes made before, during and after building a model. The "before you start" section is the research-question discipline in plain words.
  • We Need A 'Science of Evals'Lab research · Apollo Research · 2024Why today's evals are closer to art than science, and what a science of them would have to answer. The list of open questions is a good source of research questions.
  • Challenges in evaluating AI systemsLab research · Anthropic · 2023Lessons from running evals at a lab. The BBQ story, where a bias score of zero turned out to mean the models weren't answering, is the control-check lesson in one paragraph.
  • Research Methods for Empirical Computer Science (COMPSCI 602)University · Jensen · UMass AmherstThe closest syllabus to this course. Week 4, "Formulating research questions and hypotheses", covers falsifiability and the value of several working hypotheses at once.
  • You and Your ResearchUniversity · Hamming · 1986The transcript of Hamming's Bellcore talk, hosted at the University of Virginia. The passages on tolerating ambiguity, the open door and working on important problems are the ones the stretch exercise asks about.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 7 more sections
  • 3 hands-on exercises
  • A 7-question quiz
  • Progress, quiz scores and bookmarks