Density ratio estimation in machine learning (Cambridge University Press, 2018)