Deep learning without compromising confidentiality