Topics In Nonparametric Machine Learning: Subgroup Analysis And Deep Neural Networks Regression