Come on guys, do some basic research 
Here are two papers using neural networks for cough detection: Cough detection using speech analysis 11 and Deep Neural Networks for Identifying Cough Sounds 8. As I’m still a student, I’m able to access them through the VPN of my uni. I’m not sure if you can download the papers.
I misread the question, see bellow.