q=1 就是岭回归 q=2 就是lasso
其中后面的正则项有新的算法: 就是结合了lasso和岭回归的特点 代码 https://github.com/xinxuann/MachineLearningNote/blob/main/sklearn-弹性网ElasticNet.ipynb