Performance of machine-learning-assisted Monte Carlo in sampling from simple statistical physics models