Under the hood of statistical learning