Deep learning and density-functional theory