Skip to main content
QUICK REVIEW

[Paper Review] Field-Level Crop Type Classification with k Nearest Neighbors: A Baseline for a New Kenya Smallholder Dataset

Hannah Kerner, Catherine Nakalembe|arXiv (Cornell University)|Apr 6, 2020
Smart Agriculture and AIAgricultural and Biological Sciences11 references13 citations
TL;DR

This paper establishes a k-Nearest Neighbors (k-NN) baseline for field-level crop type classification using a new Kenya smallholder dataset from Radiant MLHub, achieving up to 64% accuracy for maize and 70% for cassava. The study contextualizes the dataset’s limitations due to the atypical 2019 growing season marked by drought and limited temporal coverage, emphasizing the need for improved data resolution and integration of additional Earth observation sources to enhance model performance.

ABSTRACT

Accurate crop type maps provide critical information for ensuring food security, yet there has been limited research on crop type classification for smallholder agriculture, particularly in sub-Saharan Africa where risk of food insecurity is highest. Publicly-available ground-truth data such as the newly-released training dataset of crop types in Kenya (Radiant MLHub) are catalyzing this research, but it is important to understand the context of when, where, and how these datasets were obtained when evaluating classification performance and using them as a benchmark across methods. In this paper, we provide context for the new western Kenya dataset which was collected during an atypical 2019 main growing season and demonstrate classification accuracy up to 64% for maize and 70% for cassava using k Nearest Neighbors--a fast, interpretable, and scalable method that can serve as a baseline for future work.

Motivation & Objective

  • To provide contextual interpretation of the new Kenya smallholder crop type dataset collected during the atypical 2019 growing season.
  • To establish a fast, interpretable, and scalable k-NN baseline for crop type classification using NDVI time series.
  • To evaluate the performance limits of the dataset under real-world constraints such as limited temporal sampling and high intra-class variance.
  • To highlight the importance of temporal and spectral data resolution in improving separability between crop types in smallholder agriculture.
  • To advocate for integration of additional Earth observation data (e.g., Landsat-8, PlanetScope, Sentinel-1) to enhance classification accuracy despite privacy constraints limiting location metadata.

Proposed method

  • The study uses k-Nearest Neighbors (k-NN) with k=5 for classification, relying solely on median NDVI time series derived from Sentinel-2 multispectral data.
  • Preprocessing includes masking pixels with cloud probability >0, removing outliers using 5th and 95th percentiles, and filling gaps via Savitzky-Golay smoothing.
  • Field-level time series are computed by aggregating Sentinel-2 observations within each field boundary, using median values per band across all timesteps.
  • The method evaluates separability between crop types using NDVI and GCVI time series, with NDVI selected due to its widespread use and comparable performance.
  • Classification performance is assessed using 10-fold cross-validation on the full dataset of 3,000+ fields across seven crop classes, including pure and intercropped types.
  • The analysis accounts for temporal sparsity by evaluating how limited observation frequency (only 13 days, half the growing season) affects model accuracy.

Experimental results

Research questions

  • RQ1How does the atypical 2019 growing season in western Kenya—marked by drought and delayed planting—affect the representativeness and performance of crop type classification models?
  • RQ2What is the baseline classification accuracy achievable using k-NN on the new Kenya smallholder dataset using only NDVI time series?
  • RQ3Why do certain crop types like common bean show lower classification accuracy, and what does this indicate about intra-class and inter-class variance?
  • RQ4To what extent does limited temporal sampling (only 13 days over 5 months) constrain the ability to distinguish crop types based on phenological patterns?
  • RQ5Can additional Earth observation data (e.g., Landsat-8, PlanetScope, Sentinel-1) improve separability between crop types, and why is their integration currently impeded by missing location metadata?

Key findings

  • The k-NN model achieved a maximum per-class accuracy of 64% for maize and 70% for cassava, demonstrating a viable baseline for future method evaluation on the dataset.
  • Common bean had the lowest accuracy due to high similarity with other crop types in the feature space, indicating poor separability in the NDVI time series.
  • Intercropped classes such as maize/cassava showed higher similarity to their pure-crop counterparts, reflecting shared spectral and phenological characteristics.
  • The dataset covers only half of the main growing season and includes just one observation during the peak month of June, limiting phenological representation.
  • The lack of location metadata prevents integration of additional data sources like rainfall, planting dates, or other auxiliary variables that could improve model performance.
  • Despite these limitations, the results are comparable to prior work in smallholder regions, suggesting the dataset is useful for benchmarking but requires enhanced data to unlock higher accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.