Measuring Statistical Dependence and Its Applications in Machine Learning