Constructing realistic effective spin Hamiltonians with machine learning approaches. (26th May 2020)