Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Reducer.centeredCovariance
Stay organized with collections
Save and categorize content based on your preferences.
Creates a reducer that reduces some number of 1-D arrays of the same length N to a covariance matrix of shape NxN. WARNING: this reducer requires that the data has been mean centered.
Usage | Returns | ee.Reducer.centeredCovariance() | Reducer |
No arguments.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eCreates a reducer for calculating the covariance matrix from multiple 1-D arrays.\u003c/p\u003e\n"],["\u003cp\u003eRequires input arrays to have the same length and be pre-centered (mean removed).\u003c/p\u003e\n"],["\u003cp\u003eOutputs an NxN covariance matrix where N is the length of the input arrays.\u003c/p\u003e\n"],["\u003cp\u003eIntended for use with Earth Engine data, utilizing the \u003ccode\u003eee.Reducer\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.centeredCovariance\n\nCreates a reducer that reduces some number of 1-D arrays of the same length N to a covariance matrix of shape NxN. WARNING: this reducer requires that the data has been mean centered.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------|---------|\n| `ee.Reducer.centeredCovariance()` | Reducer |\n\n**No arguments.**"]]