岭回归算法:
from sklearn.datasets import load_boston
from sklearn.externals import joblib
from sklearn.linear_model import Ridge, RidgeCV
from sklearn.metrics import mean_squared_error
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
def liner_ridge():
'''
岭回归
:return:
'''
#1.获取数据
data = load_boston()
#2.数据集划分
x_train,x_test,y_train,y_test = train_test_split(data.data,data.target,random_state&#