ee.Reducer.linearFit
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह एक Reducer ऑब्जेक्ट दिखाता है. यह दो इनपुट के (वज़न वाले) लीनियर रिग्रेशन के लिए स्लोप और ऑफ़सेट का हिसाब लगाता है. इनपुट में, पहले x डेटा और फिर y डेटा होना चाहिए. जहां लागू हो, वहां आउटपुट को "स्केल" और "ऑफ़सेट" नाम दिया जाता है.
इस्तेमाल | रिटर्न |
---|
ee.Reducer.linearFit() | रेड्यूसर |
कोई आर्ग्युमेंट नहीं.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],["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,[]]