Learning Bootstrap and Rake