Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for ecologists

Species Distribution Model Validation Agent

A model chosen on spatially honest validation, with its known biases and limits documented.

Species Distribution Model Validation Agent: what goes in, what the agent does and what you get

What it does

A species distribution model can look excellent because it learned where people sampled, not where the species lives. This agent runs candidate models and tests them for sampling bias and spatial overfit. It uses spatial cross-validation rather than random splits, compares scores, and checks how much the predictions follow roads or survey effort. When tests fail, it reruns with corrections such as thinning the records, changing the background points or limiting the variables, and tests again. It reports the safest model with its limits in plain language. You approve the result. Edge case: a model that scores much better in random than spatial validation is flagged as overfit even if its random score is the best.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueYes, continueApprovedNoNo 1 STARTS WHEN Occurrence data and layers ready 2 USES A TOOL Clean records: duplicates, coordinates and dates 3 USES A TOOL Fit the candidate models 4 DOES Run spatial cross-validation and random validation 5 CHECKS THE RESULT Is the gap between random and spatial scoresacceptable? If not: reduce variables or complexity and refit. Backto step 3. 6 DOES Test whether predictions follow survey effort orroads 7 CHECKS THE RESULT Is bias within the acceptable limit? If not: thin the records or change background points andrerun. Back to step 3. 8 DOES Compare scores and select the safest model 9 DOES Write a plain-language note on limits and areas oflow confidence 10 YOU APPROVE Ecologist approves the model for use 11 RESULT Validation report and chosen model
Read the steps as a list
  1. Occurrence data and layers ready
  2. Clean records: duplicates, coordinates and dates
  3. Fit the candidate models
  4. Run spatial cross-validation and random validation
  5. Is the gap between random and spatial scores acceptable?If not: reduce variables or complexity and refit. Back to step 3.
  6. Test whether predictions follow survey effort or roads
  7. Is bias within the acceptable limit?If not: thin the records or change background points and rerun. Back to step 3.
  8. Compare scores and select the safest model
  9. Write a plain-language note on limits and areas of low confidence
  10. Ecologist approves the model for useThe agent waits here for your OK.
  11. Validation report and chosen model

How it decides

It ranks models by spatial cross-validation scores and bias tests, not random splits. A model passes if spatial and random scores are close and predictions do not follow survey effort.

  • Spatial score lower than random by over 0.1 AUC: treat as overfit
  • Predictions correlate with effort above 0.5: apply bias correction
  • Fewer than 30 clean records: do not model, report as data limited
  • Two models within 0.02 score: choose the simpler

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Spatial block size
  • Score gap limit (default 0.1)
  • Bias limit
  • Variables allowed
  • Minimum records (default 30)

What keeps you in control

It always asks you first

  • The final model and its use in decisions

Hard limits

  • Never present random split scores alone
  • Never hide a bias test failure

It stops when

  • Done: validated model reported
  • Stop: too few records to fit

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensA frog model scored 0.93 AUC in random splits but 0.71 in spatial blocks, so the first check failed. The agent cut variables from 12 to 6 and refit, giving 0.88 random and 0.80 spatial. Predictions still correlated 0.6 with road distance. It thinned records to 5 km and reran, bringing it to 0.3. The ecologist approved the final model.

More agents for ecologists