Я знаю, как рассчитать, когда он имеет один столбец, следующим образом: р>
Код: Выделить всё
denominator = np.sum((a1 - np.mean(a1)) ** 2)
numerator = np.sum((a2 - a1) ** 2)
nse_val = 1 - numerator / denominator
Подробнее здесь: https://stackoverflow.com/questions/639 ... efficiency