[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[[["This reducer calculates the slope (scale) and y-intercept (offset) of a linear regression line."],["It uses two input datasets: one for the x-values and one for the corresponding y-values."],["Weights can be applied to the data points for a weighted linear regression."],["The output of the reducer contains the calculated slope and offset, labeled as \"scale\" and \"offset\" respectively."]]],["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"]]