~/tassiane $ cat blog/100-days-of-code.mdcd ..en

100 days of code: ai for agriculture

tassiane anzolin
escrito em inglês.

[....................] 0/100

each day is a small ai study on a real agricultural problem, across five themes: computer vision (pests, diseases, weeds), remote sensing, soil and plant microbiome, climate and crops, and plant genomics for breeding. themes alternate every day and difficulty climbs gradually. the wrap-up days (17, 34, 50, 67, 84 and 100) combine earlier work into a larger project that becomes a repository.

regras do dia

  1. at least 1 hour of coding, or reading with code.
  2. one public commit on github, even a small one.
  3. one post on x with the day number, what i did and a chart, tagged #100daysofcode.
  4. sunday: weekly recap and readme update for the current project.

climate and crops · computer vision · soil and plant microbiome · remote sensing · plant genomics

o plano

diatemaperguntadataset
001climate and cropsSoybean yield trends in ParanáWhich Paraná municipalities gained soybean yield over the last 20 years?Municipal Agricultural Production, IBGE SIDRA table 1612próximo
002computer visionPlantVillage disease classifierCan a model trained on lab photos recognize 38 crop and disease combinations?PlantVillage, Mendeley Data
003climate and cropsSoybean vs safrinha corn yield trendsDo soybean and second-crop corn follow the same yield trend by state?Historical crop series, CONAB
004soil and plant microbiomeSoil pH and bacterial communitiesDoes soil pH explain bacterial community composition?Earth Microbiome Project, soil samples, EMP
005climate and cropsSoybean yield Brazil vs US vs ArgentinaBrazil, US and Argentina: who gained the most soybean yield since 1961?Production and area, FAOSTAT
006remote sensingEuroSAT crop and pasture classesCan annual crops, permanent crops and pasture be told apart with 13 Sentinel-2 bands?EuroSAT, GitHub
007climate and cropsDry spell risk at soybean sowingWhat is the dry-spell risk in the soybean sowing window in Medianeira?Daily weather, NASA POWER
008plant genomicsWheat genomic prediction GBLUP vs RFDo markers predict wheat yield better with GBLUP or Random Forest?Wheat (599 CIMMYT lines), package BGLR on CRAN
009climate and cropsFertilizer use vs yieldDoes more fertilizer mean higher yield?Fertilizers and production, FAOSTAT
010computer visionSoybean seed quality gradingAutomatic grading of broken, immature and spotted soybean seedsSoybean Seeds, Mendeley Data
011climate and cropsIBGE crop forecast errorHow much does IBGE's crop forecast miss from one month to the next?LSPA, IBGE SIDRA
012soil and plant microbiomeDominant soil bacteria worldwideWhich phylotypes dominate the world's soils and what explains where they occur?Delgado-Baquerizo 2018, Science, Figshare
013climate and cropsPrecision ag adoption by farm sizeWho uses precision agriculture and irrigation in Paraná, by farm size?Agricultural Census, IBGE SIDRA
014computer visionPlant seedlings crop vs weedTelling 12 seedling species apart, crop and weed, for spot sprayingPlant Seedlings, Aarhus University
015climate and cropsIllinois corn yield and July weatherDoes July weather explain corn yield in Illinois counties?USDA NASS Quick Stats + NASA POWER
016remote sensingWestern Paraná land use changeHow much of western Paraná's native vegetation became cropland since 1985?Land cover statistics, MapBiomas
017wrap-upWrap-up 1: Reproducible ML pipelineReproducible pipeline (data → model → SHAP) applied to the tables from days 1 to 16; first repository with a complete README
018computer visionRice leaf diseases with few imagesDiagnosing rice diseases with only 120 imagesRice Leaf Diseases, UCI
019climate and cropsFrost prediction in western ParanáCan frost in western Paraná be predicted 24 hours ahead?Automatic stations, INMET BDMEP
020computer visionGrad-CAM on corn leaf diseasesWhere does the model look when diagnosing corn diseases?Corn or Maize Leaf Disease, Kaggle
021remote sensing2021-22 drought and soybean lossDoes the 2021/22 drought explain the soybean loss in Paraná?CHIRPS, UCSB CHC
022climate and cropsSoybean price, dollar and ChicagoDoes the soybean price at Paranaguá follow the dollar and Chicago?Soybean price index, CEPEA
023computer visionCoffee leaf rust severityEstimating coffee leaf rust and leaf miner severity on Brazilian coffeeBRACOL, Mendeley Data
024climate and cropsUS planting dates getting earlierIs soybean and corn planting in the US getting earlier?Crop Progress, USDA NASS
025plant genomicsSoybean germplasm clusteringDo soybean germplasm accessions cluster by origin and traits?Soybean germplasm, USDA GRIN-Global
026climate and cropsWorld stocks and soybean priceDo world stocks explain the soybean price?Production, Supply and Distribution, USDA FAS
027computer visionCrop pest recognitionRecognizing 12 crop pests in everyday photosAgricultural Pests Image Dataset, Kaggle
028remote sensingLandsat greening in western ParanáHas western Paraná become greener or browner in 35 years?Landsat in Earth Engine
029soil and plant microbiomeRhizosphere vs bulk soil microbiomeIs the rhizosphere microbiome different from the surrounding soil?Earth Microbiome Project, plant samples, EMP
030computer visionPlantDoc domain shiftDoes the PlantVillage model work on real field photos?PlantDoc, GitHub
031remote sensingSoybean phenology with Sentinel-2When was soybean sown and harvested in each Medianeira field?Sentinel-2 in Earth Engine
032climate and cropsSoil organic carbon predictionPredicting soil organic carbon from climate and textureWoSIS, ISRIC
033computer visionBrazilian crop diseases few-shotBrazilian crop diseases with few images per classDigipathos, Embrapa
034wrap-upWrap-up 2: Data leakage experimentLeakage experiment: random versus by-study, by-year or by-region validation, redone on EMP, Delgado-Baquerizo, NASS corn and PlantVillage
035soil and plant microbiomeCross-study soil classifierDoes a cropland versus native soil classifier trained on one study work on another?Soil studies in MGnify
036remote sensingMODIS NDVI soybean yield forecastDoes MODIS NDVI predict municipal soybean yield before harvest?MOD13Q1 in Earth Engine + IBGE PAM
037computer visionLearning with noisy cassava labelsHow do you train with wrong labels given by farmers?Cassava Leaf Disease, Kaggle
038plant genomicsRice GWAS height and floweringWhich genome regions explain rice height and flowering?Rice Diversity Panel 1, ricediversity.org
039climate and cropsVis-NIR soil spectroscopyCan vis-NIR spectroscopy replace lab analysis of carbon and clay?Open Soil Spectral Library
040remote sensingPasture to soybean transitionsWhere did pasture turn into soybean in western Paraná?MapBiomas collection in Earth Engine
041soil and plant microbiomeMycorrhizal fungi distributionWhere do arbuscular mycorrhizal fungi occur and which climate and soil favor them?GlobalFungi
042computer visionDeepWeeds real-time on a robotCan a model light enough for a robot identify rangeland weeds in real time?DeepWeeds, GitHub
043remote sensingDynamic World vs MapBiomasWhere do Dynamic World and MapBiomas disagree about agriculture?Dynamic World in Earth Engine
044climate and cropsSoilGrids pH validation in ParanáDoes SoilGrids pH match real measurements in Paraná?SoilGrids, ISRIC
045computer visionWeeds in soybean from drone imagesWeeds in Brazilian soybean from drone imagesWeed Detection in Soybean Crops, Kaggle
046soil and plant microbiomeUS cropland vs native soil microbiomesDo cropland and native soils in the US have distinct microbiomes?Soil microbiome, NEON
047remote sensingFire in pasture vs croplandDoes pasture burn more than cropland in the Cerrado?MapBiomas Fogo
048climate and cropsSoybean yield gap in BrazilHow far is Brazilian soybean from its yield potential?Global Yield Gap Atlas
049computer visionApple leaf multi-label diseasesApple leaves with more than one disease at oncePlant Pathology 2021, Kaggle
050wrap-upWrap-up 3: Plant disease mobile appPlant disease app: best PlantVillage → PlantDoc model exported to mobile and tested on Digipathos and BRACOL
051computer visionCotton weed architecture benchmarkWhich of 35 architectures best recognizes 15 cotton weeds?CottonWeedID15, Kaggle
052climate and cropsZARC soybean sowing windowWhat defines the low-risk soybean sowing window in Paraná?ZARC, MAPA open data
053remote sensingPhenoCam vs Sentinel-2 phenologyDo ground cameras and satellites agree on crop phenology?PhenoCam Network
054computer visionWheat rust in EthiopiaWheat rust in field photos from EthiopiaCGIAR Crop Disease, Zindi
055remote sensingSoil carbon loss by land useWhere has agricultural use lost soil carbon in Brazil?MapBiomas Solo
056soil and plant microbiomeMycorrhizal type from phylogenyCan a crop's mycorrhizal type be predicted from phylogeny?FungalRoot
057climate and cropsHeat at soybean floweringHow many days above 35 °C does Paraná soybean face at flowering, and is it getting worse?ERA5-Land, Copernicus
058soil and plant microbiomeFusarium distribution and climateWhere do plant-pathogenic fungi like Fusarium occur and which climate favors them?GlobalFungi
059remote sensingCenter pivot detectionDetecting center-pivot irrigation in Sentinel-2 imagesCenter-pivot survey, ANA
060soil and plant microbiomeRhizosphere microbiome soybean vs cornDoes the rhizosphere microbiome give away the crop, soybean or corn?Rhizosphere studies in MGnify
061computer visionCarrot and weed segmentationSegmenting carrots and weeds with only 60 imagesCWFID, GitHub
062plant genomicsCorn flowering time GWASWhich corn genome regions control flowering time?Corn association panel, Panzea
063climate and cropsPesticide sales vs planted areaDo pesticide sales track planted area in each state?Pesticide sales, IBAMA
064computer visionSticky trap insect countingCounting whiteflies and thrips on yellow sticky trapsSticky traps, 4TU.ResearchData
065remote sensingBigEarthNet crop confusionWhich crop classes does Sentinel-2 confuse most?BigEarthNet
066plant genomicsSoyNAM yield predictionPredicting soybean yield across 40 breeding familiesSoyNAM, CRAN
067wrap-upWrap-up 4: Paraná soil and climate dashboardParaná soil and climate dashboard: pH, carbon and spectra (SoilGrids, WoSIS, OSSL), flowering heat and ZARC windows
068computer visionIP102 imbalanced pest classesRecognizing 102 pests with highly imbalanced classesIP102, GitHub
069soil and plant microbiomeRice root compartments microbiomeAre rice endosphere, rhizoplane and rhizosphere separable?Edwards 2015, PNAS, SRA SRP044745
070remote sensingSentinel-1 soybean under cloudsCan Sentinel-1 radar detect soybean under clouds in western Paraná?Sentinel-1 in Earth Engine
071computer visionWheat head detection across countriesCounting wheat heads and generalizing to unseen countriesGlobal Wheat Head Detection, Zenodo
072remote sensingPasture vigor from LandsatPredicting pasture vigor from LandsatPasture Atlas, LAPIG
073computer visionApple counting in orchardsCounting apples in orchards to estimate the harvestMinneApple, University of Minnesota
074remote sensingBreizhCrops Transformer vs LSTMClassifying crops from satellite time seriesBreizhCrops, GitHub
075computer visionGrape cluster segmentationSegmenting grape clusters to estimate productionWGISD, Embrapa on GitHub
076remote sensingCropHarvest label-scarce mappingMapping cropland where labels are scarceCropHarvest, GitHub
077climate and cropsSatellite vs ground soil moistureDoes satellite soil moisture match ground sensors?ISMN
078remote sensingField boundary delineationDelineating field boundaries automatically, Brazil includedFields of The World, source.coop
079computer visionTomato ripeness detectionDetecting tomatoes and their ripeness in greenhousesLaboro Tomato, GitHub
080plant genomicsRice subpopulations from SNPsAre SNPs enough to classify rice subpopulations?3000 Rice Genomes, AWS Open Data
081soil and plant microbiomeMicrobiome predicts soil N and CDoes the microbiome predict soil nitrogen and carbon?NEON microbiome + chemistry
082computer visionAgriculture-Vision field anomaliesDetecting planting gaps, flooding and weeds in aerial farmland imagesAgriculture-Vision, AWS Open Data
083remote sensingEuroCrops cross-country transferField labels from several European countries: does the model transfer between countries?EuroCrops, GitHub with Zenodo links
084wrap-upWrap-up 5: Western Paraná soybean mapWestern Paraná soybean map: Sentinel-1 + Sentinel-2 + MapBiomas, published
085soil and plant microbiomeClimate and soil microbial communitiesDoes climate predict the soil microbial community?EMP + WorldClim
086remote sensingOpenET irrigation water useHow much water does each irrigated field in Nebraska use?OpenET in Earth Engine
087soil and plant microbiomeRoot microbiome predicts rice ageDoes the root microbiome predict rice plant age?Edwards 2018, PLOS Biology, Dryad data
088plant genomicsSoybean oil and protein genomic predictionDo markers predict oil and protein in almost 20,000 soybean accessions?SoySNP50K, SoyBase
089soil and plant microbiomeXanthomonas host from effector genesDo effector genes predict the host of Xanthomonas?Genomes of Xanthomonas, NCBI
090plant genomicsSoybean drought response genesWhich soybean genes respond to drought?Soybean RNA-seq studies in GEO
091computer visionCottonWeedDet12 YOLO detectionDetecting 12 cotton weeds with bounding boxesCottonWeedDet12, Zenodo
092remote sensingSoybean yield from satellite onlyPredicting soybean yield in Brazil, Argentina and the US from satellite aloneCrop yield, SustainBench
093plant genomicsGenotype by environment in cornGenotype × environment in corn: do genome + weather predict yield in new locations?Genomes to Fields
094computer visionSugar beet vs weed segmentationSeparating sugar beet from weeds pixel by pixel with RGB + near infraredSugar Beets 2016, University of Bonn
095remote sensingPASTIS panoptic field segmentationPanoptic segmentation of fields from Sentinel-2 time seriesPASTIS, GitHub
096computer visionCropAndWeed fine vs coarse labelsDo fine labels for 74 species help more than just crop versus weed?CropAndWeed, GitHub
097remote sensingRadar and optical fusion under cloudsFusing radar and optical imagery for crops under cloudsSEN12MS, mediaTUM
098computer visionPhenoBench leaves crops and weedsCounting leaves and segmenting crops and weeds in one modelPhenoBench, University of Bonn
099remote sensingCropNet multimodal yield modelSatellite + hourly weather + statistics: a multimodal county yield modelCropNet, Hugging Face
100wrap-upWrap-up final: Microbiome climate and yield capstoneCapstone: soil and root microbiome + climate + yield, with SHAP and by-study validation; preprint and website