for i in range(alphaLen):
    for j in range(n):
        alpha = alpha_list[i]
c = train.eig(xt_, yt_, m - j, m, alpha, 'cpu')
costListTrain[i, j] = cost.err(xt_, xt_, yt_, c)
costListTest[i, j] = cost.err(xt_, xv_, yv_, c)
построение высокоточных данных