The Internet of Things (IoT) is increasingly adopted across various domains. However, these sensors are prone to ageing, which can lead to failures in IoT systems due to inaccurate data collection. A possible solution to this challenge is IoT rejuvenation, a proactive and cost-effective technique designed to mitigate sensor ageing and ensure long-term data accuracy. This paper investigates the integration of Machine Learning (ML) in IoT rejuvenation, with the goal of developing a model capable of detecting measurement errors resulting from sensor ageing. The core idea is to identify these errors and either correct them or trigger recalibration when possible, ensuring continued accuracy and reliability in sensor performance. Such a solution is suitable for different contexts including smart hospitals, smart malls, smart cities, and so on. The study is conducted in a smart city scenario within a Cloud/Edge continuum …