refactor sampling.py
refactor sampling.py

niboshi/chainer,chainer/chainer,chainer/chainer,niboshi/chainer,pfnet/chainer,hvy/chainer,chainer/chainer,hvy/chainer,niboshi/chainer,hvy/chainer,chainer/chainer,hvy/chainer,niboshi/chainer