Beam diagnostics, data acquisition system, and applications of machine learning at the KEK e-/e+ Linac | Synapse