Towards an effective and efficient machine-learning-based framework for supporting event detection in complex environments