Similar Items: Optimal subsampling for high-dimensional partially linear models via machine learning methods