Deep learning the holographic black hole with charge