Exemplo n.º 1
0
def geterror(predictions, ytest):
    # Can change this to other error values
    print("testset",ytest.shape[0])
    print 200000/ytest.shape[0]
    return utils.l2err_squared(predictions,ytest)/ytest.shape[0]
Exemplo n.º 2
0
def geterror(predictions, ytest):
    # Can change this to other error values
    return utils.l2err_squared(predictions,ytest)/ytest.shape[0]
Exemplo n.º 3
0
def geterror(predictions, ytest):
    # Can change this to other error values
    return utils.l2err_squared(predictions, ytest) / ytest.shape[0]