ee.Reducer.geometricMedian
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יוצרת פונקציית צמצום שמחשבת את החציון הגיאומטרי של קבוצת קלטים.
שימוש | החזרות |
---|
ee.Reducer.geometricMedian(numX, eta, initialStepSize) | הפחתה |
ארגומנט | סוג | פרטים |
---|
numX | מספר שלם | מספר מאפייני הקלט. |
eta | מספר ממשי, ברירת מחדל: 0.001 | השיפור המינימלי בפתרון שמשמש כקריטריון עצירה לפתרון הבעיה. |
initialStepSize | מספר ממשי (float), ברירת מחדל: 10 | גודל הצעד הראשוני שמשמש את הפותר. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון 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. |"]]