Intro to Classification


🎯 Checkpoint 2. a: Which banana(s) would you eat?

Intro to Classification

In a grocery store, we often think about which specific fruits are ripe and which are not. Farmers who grow these crops make similar decisions about when their fruits and vegetables are ready to pick.

Regardless of whether it’s the farmer or the end consumer, both of these people are making specific decisions–judgements—about whether a fruit or vegetable is ripe or not.

This kind of decision making is called classification.

Classification is all about sorting things into groups based on what they look like or how they act – something humans have done forever!

Use of Classification in Agriculture

Humans have been making classifaction decisions for thousands of years. Only recently have computers begun to have the ability to make classification decisions.

One use of artificial intelligence (AI) is to help farmers make classification decisions, work that can be time and labor intensive when done traditionally and at scale.

Classification of Ripeness (Ripe / Not)

We can now use AI technology to identify exactly which crops in a field are ripe and ready to be picked. See the graphic below from the University of Maryland 1 to understand how this technology works.

🎯 Checkpoint 2. b: Review the figure above. In image (b), what do you think the yellow represents? The green?

Types of Classification

The classification of strawberries above is considered binary, meaning there are only two possible results: ripe or not ripe.

Binary Classification
Two possible outcomes:

Not Ripe Ripe



Multiclass Classification
We can also classify into multiclass results like apple/orange/banana or ripe/underripe/molded produce. Multiclass classification has three or more possible outcomes:

Underripe Ripe Molded



For example, see the project from the University of Georgia, Athens 2 below that uses multiclass classification to sort lemons, discarding those that are underripe or molded and retaining only those that are ripe.

More on Classification with AI

As the video notes, computers can make classification decisions very quickly.

​As with anything, choosing to use AI for thse sorts of tasks has its advantages and disadvantages.

  • Pros:
    • Handles millions of items quickly
    • Spots tiny differences humans miss
  • Cons:
    • Needs tons of examples to train the computer
    • Bad examples = bad decisions (e.g., train only on sunny photos, it fails on cloudy days).
      ​

Your job as a scientist: Practice Classifying! The next page will involve a classification activity. It will challenge both your conceptual understanding of classification, as well as introduce you to classifying with AI!

Footnotes

  1. Liu, T., Chopra, N., & Samtani, J. (2022). Information system for detecting strawberry fruit locations and ripeness conditions in a farm. Biology and Life Science Forum, 16 (1), https://doi.org/10.3390/IECHo2022-12488.↩︎

  2. Drake, A. (2025, April 26). AI for agriculture: How Georgians use robots on the farm [Video]. WRDW. https://www.wrdw.com/2025/04/26/ai-agriculture-how-georgians-use-robots-farm/↩︎