Deep learning on compressed sensing measurements in pneumonia detection