Machine learning of explicit order parameters: From the Ising model to SU(2) lattice gauge theory | Synapse