赞
踩
1 BC
#encoding=utf8
import numpy as np
#mse
def mse_score(y_predict,y_test):
#********* Begin *********#
m = len(y_predict)
a = y_test - y_predict
mse = np.dot(a,a)/m
#********* End *********#
return mse
def lr(train_feature
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。