The Forgetting Machine