إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Reducer.linearFit
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعرض هذه الدالة أداة تقليل تحسب الانحدار والإزاحة لانحدار خطي (مرجّح) لمدخلَين. من المتوقّع أن تكون المدخلات عبارة عن بيانات x متبوعة ببيانات y. عند الاقتضاء، يتم تسمية النتائج على النحو التالي: "المقياس" و"الإزاحة".
الاستخدام | المرتجعات |
---|
ee.Reducer.linearFit() | Reducer |
لا توجد وسيطات.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis reducer calculates the slope (scale) and y-intercept (offset) of a linear regression line.\u003c/p\u003e\n"],["\u003cp\u003eIt uses two input datasets: one for the x-values and one for the corresponding y-values.\u003c/p\u003e\n"],["\u003cp\u003eWeights can be applied to the data points for a weighted linear regression.\u003c/p\u003e\n"],["\u003cp\u003eThe output of the reducer contains the calculated slope and offset, labeled as "scale" and "offset" respectively.\u003c/p\u003e\n"]]],["This document describes a Reducer, `ee.Reducer.linearFit()`, which calculates a linear regression between two inputs, x and y data. It determines the slope (\"scale\") and y-intercept (\"offset\") of the linear relationship. This Reducer operates without any input arguments and returns a Reducer object. The core function is computing these two parameters, scale and offset, representing the best-fit line for the provided data.\n"],null,["# ee.Reducer.linearFit\n\nReturns a Reducer that computes the slope and offset for a (weighted) linear regression of 2 inputs. The inputs are expected to be x data followed by y data. Where applicable, the outputs are named: \"scale\", \"offset\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------|---------|\n| `ee.Reducer.linearFit()` | Reducer |\n\n**No arguments.**"]]