On Learning from Ghost Imaging without Imaging