Simulation of Pake doublet with classical spins and correspondence between the quantum and classical approaches