A collaborative framework for automatic classification of respiratory sounds