learntodriveai.dev/Machine Learning/Capstone: Architecting a Complete ML System from One Email
Machine LearningProject 267 units

Capstone: Architecting a Complete ML System from One Email

Jean-Pierre HabimanaDirector of Conservation Technology · Conservation technology NGO · Kigali, Rwanda
Email · from Jean-Pierre
Our researchers process things manually, our rangers file observations that nobody correlates with other data, and we're certain we're missing patterns that the data could reveal.
Chat with Jean-Pierre

What you hand back

  • A scoped system with recorded architecture decisions
  • A species classifier judged on real detections
  • Poaching alerts and habitat trends from field data
  • A ten-year archive searchable in plain language
  • One monitoring layer that watches itself
  • A funder-readable handover with operating instructions

7 units

  1. Unit 1: The Whole Problem, and Whether It Is One System or Four

    Profile every data source, then settle with the director whether this is one system or four.

    Open unit 1
  2. Unit 2: The Development Infrastructure, the Context Strategy, and the Second Architecture Decision

    Set up the directing infrastructure and context strategy, then separate the archive from the live alerts.

    Open unit 2
  3. Unit 3: Species Identification, Where Accuracy Is a Lie

    Write the species evaluation before any model exists, then build and check the classifier against it.

    Open unit 3
  4. Unit 4: Poaching and Habitat, Where the Field Goes Offline

    Build poaching alerts and habitat trends, prove the feature paths match, and recover from days of field silence.

    Open unit 4
  5. Unit 5: The Ten-Year Archive, and Monitoring That Watches Itself

    Build plain-language search over the ten-year archive and one monitoring layer that checks its own liveness.

    Open unit 5
  6. Unit 6: One System — Compose, Verify the Whole, Deploy Safely

    Connect the four components through the edges between them and verify the boundaries, then deploy safely.

    Open unit 6
  7. Unit 7: The Documentation an NGO Lives On, and the Handover

    Finish the decision records, the model lifecycle plan, and a handover a funder and a successor can both use.

    Open unit 7
Read the full brief

A conservation-technology NGO monitors wildlife across Rwanda's protected areas, and none of its systems talk to each other. Jean-Pierre Habimana sends one careful email asking for a comprehensive ML approach and an honest assessment before he commits scarce resources. The deliverable is one integrated wildlife-monitoring system -- not four scripts that happen to share a folder.

The discipline skills, all at once: scoping a maximally ambiguous problem into a buildable component architecture; identifying species from camera-trap images, where the data can make a headline accuracy number meaningless; detecting poaching patterns and assessing habitat health with matched offline and online feature paths; building retrieval over a ten-year document archive; composing the components and verifying every boundary; running a shared monitoring layer that also watches whether the monitoring itself is still alive; designing the AI development infrastructure as a deliverable; and writing the documentation that has to prove the system's worth and outlast the person who built it.

The loop lesson: nothing about AI improved. It behaves exactly as it did on your first project. What changed is that the architecture, the decomposition, the context strategy, and the verification design are now yours to supply -- the platform used to provide them. From one email, AI's plausible-but-wrong defaults are the trap at full strength: isolated scripts instead of a system, a species model optimized for an accuracy number that means nothing under heavy imbalance, the document archive and the live alerts treated as the same problem, ingestion that silently loses field data, monitoring with nothing watching the monitoring, and "done" declared the moment the components run. Every default is reasonable. Every one is wrong for this NGO. You supply the architecture; AI supplies the labor.

Your Role

ML systems architect. You scope the problem, make the architecture decisions, decompose the system into pieces AI can build, build them, compose them, deploy them, monitor them, document them, and hand them over.

Last time you adapted an existing system -- a brief, a codebase, a defined task. This time there is no brief, no spec, no design pack, and no codebase. There is a problem statement and nothing else. The system does not exist yet. You work with AI in an architecture-and-orchestration register: AI builds the components, but you own every composition boundary and every invariant that has to hold across the whole system, because AI holds none of them.

What's New

Last time you adapted a working recommendation system for Maria at Balita Digital, under a forced embedding-API deprecation with a 90-day clock -- the scope was given, the system existed, the job was to make the change durable.

Here there is nothing to inherit and nothing to adapt. The scope is undefined and large -- and you define all of it from one email. The full directing-and-verification repertoire carries forward; what is new is that it now turns on a complete system you architect from scratch.

The hard part is that the ambiguity is the work. Before you build anything, you have to make Jean-Pierre's vision tractable -- decide what is one system versus several, what gets built first, what the data is actually like before any of it is modeled. The discovery conversation is where the real architecture decisions surface, and they will not be handed to you.

Tools

  • Claude Code -- directing the architecture, decomposition, build, verification, and infrastructure design
  • Python -- the substance: the species, poaching, and habitat models, the ingestion and batch pipelines, the serving layers (pandas, numpy, scikit-learn, PyTorch-style code)
  • A retrieval stack -- embeddings, chunking, and vector retrieval for the ten-year archive query system, plus its LLM serving layer
  • Git/GitHub -- the project repository; you commit the system, the infrastructure, the architecture decision records, the model-strategy document, the monitoring, and the handover
  • Jupyter -- the evaluation notebooks: imbalance-aware species evaluation, retrieval-quality evaluation, composition checks

No new tool category is introduced. The capstone is the integrated application of everything you've built across the track. Any setup specific to this project is introduced where it's first needed.

Materials

You receive:

  • first-contact-email.md -- Jean-Pierre's email: the whole vision, none of the scope, priorities, or constraints specified
  • Representative real data across every source, as working inputs you profile and build against -- a camera-trap image sample, ranger patrol GPS logs, environmental and satellite sensor data, GPS collar tracks, acoustic recordings, and a slice of the ten-year survey-report archive for the retrieval system. Not pre-processed, not pre-modeled.
  • CLAUDE.md -- a thin starting context file you take ownership of and grow into the system's working memory

Two senior colleagues are reachable on demand: Dr. Sarah Chen on evaluation architecture and Marcus Webb on production architecture. Neither is assigned any work and neither appears unless you decide a question warrants a specialist -- deciding whether and when to consult them is part of the job.

Everything else -- the scope decision, the architecture decisions and their records, the evaluation design, the components, the retrieval system, the ingestion failure paths, the shared monitoring layer, the AI development infrastructure, the model-strategy document, and the handover -- is yours to produce.

Materials · 669 files
Camera Trap Sample/
pngimg_0001.pngpngimg_0002.pngpngimg_0003.pngpngimg_0004.pngpngimg_0005.pngpngimg_0006.pngpngimg_0007.pngpngimg_0008.pngpngimg_0009.pngpngimg_0010.pngpngimg_0011.pngpngimg_0012.pngpngimg_0013.pngpngimg_0014.pngpngimg_0015.pngpngimg_0016.pngpngimg_0017.pngpngimg_0018.pngpngimg_0019.pngpngimg_0020.pngpngimg_0021.pngpngimg_0022.pngpngimg_0023.pngpngimg_0024.pngpngimg_0025.pngpngimg_0026.pngpngimg_0027.pngpngimg_0028.pngpngimg_0029.pngpngimg_0030.pngpngimg_0031.pngpngimg_0032.pngpngimg_0033.pngpngimg_0034.pngpngimg_0035.pngpngimg_0036.pngpngimg_0037.pngpngimg_0038.pngpngimg_0039.pngpngimg_0040.pngpngimg_0041.pngpngimg_0042.pngpngimg_0043.pngpngimg_0044.pngpngimg_0045.pngpngimg_0046.pngpngimg_0047.pngpngimg_0048.pngpngimg_0049.pngpngimg_0050.pngpngimg_0051.pngpngimg_0052.pngpngimg_0053.pngpngimg_0054.pngpngimg_0055.pngpngimg_0056.pngpngimg_0057.pngpngimg_0058.pngpngimg_0059.pngpngimg_0060.pngpngimg_0061.pngpngimg_0062.pngpngimg_0063.pngpngimg_0064.pngpngimg_0065.pngpngimg_0066.pngpngimg_0067.pngpngimg_0068.pngpngimg_0069.pngpngimg_0070.pngpngimg_0071.pngpngimg_0072.pngpngimg_0073.pngpngimg_0074.pngpngimg_0075.pngpngimg_0076.pngpngimg_0077.pngpngimg_0078.pngpngimg_0079.pngpngimg_0080.pngpngimg_0081.pngpngimg_0082.pngpngimg_0083.pngpngimg_0084.pngpngimg_0085.pngpngimg_0086.pngpngimg_0087.pngpngimg_0088.pngpngimg_0089.pngpngimg_0090.pngpngimg_0091.pngpngimg_0092.pngpngimg_0093.pngpngimg_0094.pngpngimg_0095.pngpngimg_0096.pngpngimg_0097.pngpngimg_0098.pngpngimg_0099.pngpngimg_0100.pngpngimg_0101.pngpngimg_0102.pngpngimg_0103.pngpngimg_0104.pngpngimg_0105.pngpngimg_0106.pngpngimg_0107.pngpngimg_0108.pngpngimg_0109.pngpngimg_0110.pngpngimg_0111.pngpngimg_0112.pngpngimg_0113.pngpngimg_0114.pngpngimg_0115.pngpngimg_0116.pngpngimg_0117.pngpngimg_0118.pngpngimg_0119.pngpngimg_0120.pngpngimg_0121.pngpngimg_0122.pngpngimg_0123.pngpngimg_0124.pngpngimg_0125.pngpngimg_0126.pngpngimg_0127.pngpngimg_0128.pngpngimg_0129.pngpngimg_0130.pngpngimg_0131.pngpngimg_0132.pngpngimg_0133.pngpngimg_0134.pngpngimg_0135.pngpngimg_0136.pngpngimg_0137.pngpngimg_0138.pngpngimg_0139.pngpngimg_0140.pngpngimg_0141.pngpngimg_0142.pngpngimg_0143.pngpngimg_0144.pngpngimg_0145.pngpngimg_0146.pngpngimg_0147.pngpngimg_0148.pngpngimg_0149.pngpngimg_0150.pngpngimg_0151.pngpngimg_0152.pngpngimg_0153.pngpngimg_0154.pngpngimg_0155.pngpngimg_0156.pngpngimg_0157.pngpngimg_0158.pngpngimg_0159.pngpngimg_0160.pngpngimg_0161.pngpngimg_0162.pngpngimg_0163.pngpngimg_0164.pngpngimg_0165.pngpngimg_0166.pngpngimg_0167.pngpngimg_0168.pngpngimg_0169.pngpngimg_0170.pngpngimg_0171.pngpngimg_0172.pngpngimg_0173.pngpngimg_0174.pngpngimg_0175.pngpngimg_0176.pngpngimg_0177.pngpngimg_0178.pngpngimg_0179.pngpngimg_0180.pngpngimg_0181.pngpngimg_0182.pngpngimg_0183.pngpngimg_0184.pngpngimg_0185.pngpngimg_0186.pngpngimg_0187.pngpngimg_0188.pngpngimg_0189.pngpngimg_0190.pngpngimg_0191.pngpngimg_0192.pngpngimg_0193.pngpngimg_0194.pngpngimg_0195.pngpngimg_0196.pngpngimg_0197.pngpngimg_0198.pngpngimg_0199.pngpngimg_0200.pngpngimg_0201.pngpngimg_0202.pngpngimg_0203.pngpngimg_0204.pngpngimg_0205.pngpngimg_0206.pngpngimg_0207.pngpngimg_0208.pngpngimg_0209.pngpngimg_0210.pngpngimg_0211.pngpngimg_0212.pngpngimg_0213.pngpngimg_0214.pngpngimg_0215.pngpngimg_0216.pngpngimg_0217.pngpngimg_0218.pngpngimg_0219.pngpngimg_0220.pngpngimg_0221.pngpngimg_0222.pngpngimg_0223.pngpngimg_0224.pngpngimg_0225.pngpngimg_0226.pngpngimg_0227.pngpngimg_0228.pngpngimg_0229.pngpngimg_0230.pngpngimg_0231.pngpngimg_0232.pngpngimg_0233.pngpngimg_0234.pngpngimg_0235.pngpngimg_0236.pngpngimg_0237.pngpngimg_0238.pngpngimg_0239.pngpngimg_0240.pngpngimg_0241.pngpngimg_0242.pngpngimg_0243.pngpngimg_0244.pngpngimg_0245.pngpngimg_0246.pngpngimg_0247.pngpngimg_0248.pngpngimg_0249.pngpngimg_0250.pngpngimg_0251.pngpngimg_0252.pngpngimg_0253.pngpngimg_0254.pngpngimg_0255.pngpngimg_0256.pngpngimg_0257.pngpngimg_0258.pngpngimg_0259.pngpngimg_0260.pngpngimg_0261.pngpngimg_0262.pngpngimg_0263.pngpngimg_0264.pngpngimg_0265.pngpngimg_0266.pngpngimg_0267.pngpngimg_0268.pngpngimg_0269.pngpngimg_0270.pngpngimg_0271.pngpngimg_0272.pngpngimg_0273.pngpngimg_0274.pngpngimg_0275.pngpngimg_0276.pngpngimg_0277.pngpngimg_0278.pngpngimg_0279.pngpngimg_0280.pngpngimg_0281.pngpngimg_0282.pngpngimg_0283.pngpngimg_0284.pngpngimg_0285.pngpngimg_0286.pngpngimg_0287.pngpngimg_0288.pngpngimg_0289.pngpngimg_0290.pngpngimg_0291.pngpngimg_0292.pngpngimg_0293.pngpngimg_0294.pngpngimg_0295.pngpngimg_0296.pngpngimg_0297.pngpngimg_0298.pngpngimg_0299.pngpngimg_0300.pngpngimg_0301.pngpngimg_0302.pngpngimg_0303.pngpngimg_0304.pngpngimg_0305.pngpngimg_0306.pngpngimg_0307.pngpngimg_0308.pngpngimg_0309.pngpngimg_0310.pngpngimg_0311.pngpngimg_0312.pngpngimg_0313.pngpngimg_0314.pngpngimg_0315.pngpngimg_0316.pngpngimg_0317.pngpngimg_0318.pngpngimg_0319.pngpngimg_0320.pngpngimg_0321.pngpngimg_0322.pngpngimg_0323.pngpngimg_0324.pngpngimg_0325.pngpngimg_0326.pngpngimg_0327.pngpngimg_0328.pngpngimg_0329.pngpngimg_0330.pngpngimg_0331.pngpngimg_0332.pngpngimg_0333.pngpngimg_0334.pngpngimg_0335.pngpngimg_0336.pngpngimg_0337.pngpngimg_0338.pngpngimg_0339.pngpngimg_0340.pngpngimg_0341.pngpngimg_0342.pngpngimg_0343.pngpngimg_0344.pngpngimg_0345.pngpngimg_0346.pngpngimg_0347.pngpngimg_0348.pngpngimg_0349.pngpngimg_0350.pngpngimg_0351.pngpngimg_0352.pngpngimg_0353.pngpngimg_0354.pngpngimg_0355.pngpngimg_0356.pngpngimg_0357.pngpngimg_0358.pngpngimg_0359.pngpngimg_0360.pngpngimg_0361.pngpngimg_0362.pngpngimg_0363.pngpngimg_0364.pngpngimg_0365.pngpngimg_0366.pngpngimg_0367.pngpngimg_0368.pngpngimg_0369.pngpngimg_0370.pngpngimg_0371.pngpngimg_0372.pngpngimg_0373.pngpngimg_0374.pngpngimg_0375.pngpngimg_0376.pngpngimg_0377.pngpngimg_0378.pngpngimg_0379.pngpngimg_0380.pngpngimg_0381.pngpngimg_0382.pngpngimg_0383.pngpngimg_0384.pngpngimg_0385.pngpngimg_0386.pngpngimg_0387.pngpngimg_0388.pngpngimg_0389.pngpngimg_0390.pngpngimg_0391.pngpngimg_0392.pngpngimg_0393.pngpngimg_0394.pngpngimg_0395.pngpngimg_0396.pngpngimg_0397.pngpngimg_0398.pngpngimg_0399.pngpngimg_0400.pngpngimg_0401.pngpngimg_0402.pngpngimg_0403.pngpngimg_0404.pngpngimg_0405.pngpngimg_0406.pngpngimg_0407.pngpngimg_0408.pngpngimg_0409.pngpngimg_0410.pngpngimg_0411.pngpngimg_0412.pngpngimg_0413.pngpngimg_0414.pngpngimg_0415.pngpngimg_0416.pngpngimg_0417.pngpngimg_0418.pngpngimg_0419.pngpngimg_0420.pngpngimg_0421.pngpngimg_0422.pngpngimg_0423.pngpngimg_0424.pngpngimg_0425.pngpngimg_0426.pngpngimg_0427.pngpngimg_0428.pngpngimg_0429.pngpngimg_0430.pngpngimg_0431.pngpngimg_0432.pngpngimg_0433.pngpngimg_0434.pngpngimg_0435.pngpngimg_0436.pngpngimg_0437.pngpngimg_0438.pngpngimg_0439.pngpngimg_0440.pngpngimg_0441.pngpngimg_0442.pngpngimg_0443.pngpngimg_0444.pngpngimg_0445.pngpngimg_0446.pngpngimg_0447.pngpngimg_0448.pngpngimg_0449.pngpngimg_0450.pngpngimg_0451.pngpngimg_0452.pngpngimg_0453.pngpngimg_0454.pngpngimg_0455.pngpngimg_0456.pngpngimg_0457.pngpngimg_0458.pngpngimg_0459.pngpngimg_0460.pngpngimg_0461.pngpngimg_0462.pngpngimg_0463.pngpngimg_0464.pngpngimg_0465.pngpngimg_0466.pngpngimg_0467.pngpngimg_0468.pngpngimg_0469.pngpngimg_0470.pngpngimg_0471.pngpngimg_0472.pngpngimg_0473.pngpngimg_0474.pngpngimg_0475.pngpngimg_0476.pngpngimg_0477.pngpngimg_0478.pngpngimg_0479.pngpngimg_0480.pngpngimg_0481.pngpngimg_0482.pngpngimg_0483.pngpngimg_0484.pngpngimg_0485.pngpngimg_0486.pngpngimg_0487.pngpngimg_0488.pngpngimg_0489.pngpngimg_0490.pngpngimg_0491.pngpngimg_0492.pngpngimg_0493.pngpngimg_0494.pngpngimg_0495.pngpngimg_0496.pngpngimg_0497.pngpngimg_0498.pngpngimg_0499.pngpngimg_0500.pngpngimg_0501.pngpngimg_0502.pngpngimg_0503.pngpngimg_0504.pngpngimg_0505.pngpngimg_0506.pngpngimg_0507.pngpngimg_0508.pngpngimg_0509.pngpngimg_0510.pngpngimg_0511.pngpngimg_0512.pngpngimg_0513.pngpngimg_0514.pngpngimg_0515.pngpngimg_0516.pngpngimg_0517.pngpngimg_0518.pngpngimg_0519.pngpngimg_0520.pngpngimg_0521.pngpngimg_0522.pngpngimg_0523.pngpngimg_0524.pngpngimg_0525.pngpngimg_0526.pngpngimg_0527.pngpngimg_0528.pngpngimg_0529.pngpngimg_0530.pngpngimg_0531.pngpngimg_0532.pngpngimg_0533.pngpngimg_0534.pngpngimg_0535.pngpngimg_0536.pngpngimg_0537.pngpngimg_0538.pngpngimg_0539.pngpngimg_0540.pngpngimg_0541.pngpngimg_0542.pngpngimg_0543.pngpngimg_0544.pngpngimg_0545.pngpngimg_0546.pngpngimg_0547.pngpngimg_0548.pngpngimg_0549.pngpngimg_0550.pngpngimg_0551.pngpngimg_0552.pngpngimg_0553.pngpngimg_0554.pngpngimg_0555.pngpngimg_0556.pngpngimg_0557.pngpngimg_0558.pngpngimg_0559.pngpngimg_0560.pngpngimg_0561.pngpngimg_0562.pngpngimg_0563.pngpngimg_0564.pngpngimg_0565.pngpngimg_0566.pngpngimg_0567.pngpngimg_0568.pngpngimg_0569.pngpngimg_0570.pngpngimg_0571.pngpngimg_0572.pngpngimg_0573.pngpngimg_0574.pngpngimg_0575.pngpngimg_0576.pngpngimg_0577.pngpngimg_0578.pngpngimg_0579.pngpngimg_0580.pngpngimg_0581.pngpngimg_0582.pngpngimg_0583.pngpngimg_0584.pngpngimg_0585.pngpngimg_0586.pngpngimg_0587.pngpngimg_0588.pngpngimg_0589.pngpngimg_0590.pngpngimg_0591.pngpngimg_0592.pngpngimg_0593.pngpngimg_0594.pngpngimg_0595.pngpngimg_0596.pngpngimg_0597.pngpngimg_0598.pngpngimg_0599.pngpngimg_0600.pngcsvmanifest.csv
Start Project 26

You work at a computer with a terminal. Signed in, your place is saved.