Pendle Hill training loop