Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Reducer.geometricMedian
Stay organized with collections
Save and categorize content based on your preferences.
Creates a reducer that computes the geometric median across a set of inputs.
Usage | Returns | ee.Reducer.geometricMedian(numX, eta, initialStepSize) | Reducer |
Argument | Type | Details | numX | Integer | The number of input dimensions. |
eta | Float, default: 0.001 | The minimum improvement in the solution used as a stopping criteria for the solver. |
initialStepSize | Float, default: 10 | The initial step size used in the solver. |
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eComputes the geometric median, a robust central tendency measure, across a set of input values.\u003c/p\u003e\n"],["\u003cp\u003eTakes the number of input dimensions, minimum improvement threshold (\u003ccode\u003eeta\u003c/code\u003e), and initial step size for the solver as parameters.\u003c/p\u003e\n"],["\u003cp\u003eReturns a reducer object to be applied to an \u003ccode\u003eee.FeatureCollection\u003c/code\u003e or \u003ccode\u003eee.ImageCollection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.geometricMedian\n\nCreates a reducer that computes the geometric median across a set of inputs.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------------|---------|\n| `ee.Reducer.geometricMedian(numX, `*eta* `, `*initialStepSize*`)` | Reducer |\n\n| Argument | Type | Details |\n|-------------------|-----------------------|-------------------------------------------------------------------------------------|\n| `numX` | Integer | The number of input dimensions. |\n| `eta` | Float, default: 0.001 | The minimum improvement in the solution used as a stopping criteria for the solver. |\n| `initialStepSize` | Float, default: 10 | The initial step size used in the solver. |"]]