ee.Reducer.covariance
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy funkcję redukującą, która redukuje pewną liczbę jednowymiarowych tablic o tej samej długości N do macierzy kowariancji o kształcie NxN. Ten reduktor korzysta z formuły kowariancji jednoprzebiegowej z raportu technicznego Sandia National Laboratories SAND2008-6212, która może tracić dokładność, jeśli wartości obejmują duży zakres.
Wykorzystanie | Zwroty |
---|
ee.Reducer.covariance() | Ograniczenie |
Brak argumentów.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eCreates a reducer for calculating the covariance matrix from multiple 1-D arrays.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a one-pass covariance formula which may be less accurate with large value ranges.\u003c/p\u003e\n"],["\u003cp\u003eOutput is an NxN covariance matrix where N is the length of the input arrays.\u003c/p\u003e\n"],["\u003cp\u003eThe reducer is created using \u003ccode\u003eee.Reducer.covariance()\u003c/code\u003e.\u003c/p\u003e\n"]]],["This describes a reducer function that computes a covariance matrix from multiple 1-D arrays of identical length. The output is an NxN covariance matrix. It employs a one-pass covariance formula, as detailed in Sandia National Laboratories Technical Report SAND2008-6212. The key action is reducing multiple arrays into a single matrix, and the critical information is the use of a specific formula which can result in decreased accuracy if the input data contains a broad range of values.\n"],null,["# ee.Reducer.covariance\n\nCreates a reducer that reduces some number of 1-D arrays of the same length N to a covariance matrix of shape NxN. This reducer uses the one-pass covariance formula from Sandia National Laboratories Technical Report SAND2008-6212, which can lose accuracy if the values span a large range.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|---------|\n| `ee.Reducer.covariance()` | Reducer |\n\n**No arguments.**"]]