A machine learning for environmental noise classification in smart cities