Comparing TinyML Models and Libraries for On-Device Water Potability Classification

Water pollution, mainly caused by human activities that elevate harmful substance concentrations above ideal levels, threatens both the supply and quality of drinking water and also adversely affects economic development and environmental sustainability. Machine learning, combined with TinyML and the Internet of Things, is being used to predict drinking water classification, providing a promising alternative to traditional water sample monitoring. This study aims to compare various machine learning models and TinyML libraries to solve the classification problem of water potability. The Random Forest algorithm showed the best performance in Accuracy, Precision, Recall, and Fl-Score, with Emlearn and Micromlgen libraries achieving the fastest inference time of 362 milliseconds. The multilayer perceptron model with the EmbML library used the least memory, with 283,113 bytes, and the Random Forest model with Micromlgen had the lowest energy consumption, using only 104.534 millijoules. This work can help researchers and professionals implement water potability classification systems and use TinyML in other classification problems as well.

Authors

Institutions

Publication Details

Published
2024-11-26
DOI
https://doi.org/10.1109/sbesc65055.2024.10771818
Primary Topic
Water Quality Monitoring Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparing TinyML Models and Libraries for On-Device Water Potability Classification

Erick A. Barboza, Emanuel Pereira, Jeferson Santos
Water Quality Monitoring Technologies
article

Comparing TinyML Models and Libraries for On-Device Water Potability Classification

Erick A. Barboza, Emanuel Pereira, Jeferson Santos
article en

Abstract

Water pollution, mainly caused by human activities that elevate harmful substance concentrations above ideal levels, threatens both the supply and quality of drinking water and also adversely affects economic development and environmental sustainability. Machine learning, combined with TinyML and the Internet of Things, is being used to predict drinking water classification, providing a promising alternative to traditional water sample monitoring. This study aims to compare various machine learning models and TinyML libraries to solve the classification problem of water potability. The Random Forest algorithm showed the best performance in Accuracy, Precision, Recall, and Fl-Score, with Emlearn and Micromlgen libraries achieving the fastest inference time of 362 milliseconds. The multilayer perceptron model with the EmbML library used the least memory, with 283,113 bytes, and the Random Forest model with Micromlgen had the lowest energy consumption, using only 104.534 millijoules. This work can help researchers and professionals implement water potability classification systems and use TinyML in other classification problems as well.

Universidade Federal de Alagoas (BR)
Clean water and sanitation
Openalex Percentile: Top 79%
Water Quality Monitoring Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Comparing TinyML Models and Libraries for On-Device Water Potability Classification — Erick A. Barboza, Emanuel Pereira, et al. · (2024) | TGRS Research Map | TGRS