Sensor-based analysis