AI project

SoundHive AI

Beehive health monitoring with machine learning

0.88 F1-score

Illustration: a honeycomb with one glowing cell above a sensor reading line
  • TensorFlow
  • XGBoost
  • scikit-learn
  • Streamlit
  • Python
  • Keras
  • Pandas
  • NumPy
  • Hugging Face Spaces

The story

Reads sensor data from real beehives and warns beekeepers early when a colony is getting sick.

The hard part
Turning raw time-series readings from real hives (temperature, humidity, weight, bee traffic) into features and health labels a model can learn from, before benchmarking 5 classical models against a neural network.

How it’s built

Inside SoundHive AI

System architecture

  1. STAGE 01

    • HOBOS hive sensor data · External
      • → Time-series preprocessing (400,000+ readings)
  2. STAGE 02

    • Time-series preprocessing · Service
      • → Rolling-window features
  3. STAGE 03

    • Rolling-window features · Service
      • → 3-class health labels
  4. STAGE 04

    • 3-class health labels · Service
      • → 5 classical models benchmark (benchmark)
      • → TensorFlow neural network (train)
  5. STAGE 05

    • 5 classical models benchmark · AI
    • TensorFlow neural network · AI
      • → Streamlit demo on Hugging Face
  6. STAGE 06

    • Streamlit demo on Hugging Face · Client

Engineering decisions

  1. Decision 01

    Features before models

    Raw sensor streams (temperature, humidity, weight, bee traffic) became rolling-window features and 3-class health labels first. The model can only learn what the features make visible.

  2. Decision 02

    Earn the neural network

    Five classical models, including Random Forest and XGBoost, were benchmarked first, so the TensorFlow network had to beat real baselines, not a strawman.

  3. Decision 03

    Guard against overfitting

    Dropout regularisation on the network, judged on F1 (0.88) as well as accuracy (98.82%), because unhealthy colonies are the rare class that matters most.

  4. Decision 04

    Make it usable

    A Streamlit demo on Hugging Face Spaces lets a beekeeper try it without installing anything.