ee.Reducer.covariance
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tạo một hàm giảm giúp giảm một số mảng 1 chiều có cùng độ dài N thành ma trận hiệp phương sai có hình dạng NxN. Trình giảm này sử dụng công thức hiệp phương sai một lần truyền từ Báo cáo kỹ thuật SAND2008-6212 của Phòng thí nghiệm quốc gia Sandia. Công thức này có thể mất độ chính xác nếu các giá trị trải rộng trên một phạm vi lớn.
Cách sử dụng | Giá trị trả về |
---|
ee.Reducer.covariance() | Bộ giảm tốc |
Không có đối số.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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.**"]]