Thoracic diseases classification