ee.Reducer.covariance
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างตัวลดที่ลดอาร์เรย์ 1 มิติจำนวนหนึ่งซึ่งมีความยาว N เท่ากันให้เป็นเมทริกซ์ความแปรปรวนร่วมที่มีรูปร่าง NxN ตัวลดนี้ใช้สูตรความแปรปรวนร่วมแบบผ่านเดียวจากรายงานทางเทคนิค SAND2008-6212 ของ Sandia National Laboratories ซึ่งอาจสูญเสียความแม่นยำหากค่าครอบคลุมช่วงกว้าง
การใช้งาน | การคืนสินค้า |
---|
ee.Reducer.covariance() | ตัวลดตำแหน่ง |
ไม่มีอาร์กิวเมนต์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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.**"]]