a ipython notebook to explore some sampling strategies