Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eComputes the Kappa statistic, a measure of agreement between predicted and actual classifications, for a given confusion matrix.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekappa()\u003c/code\u003e function takes a \u003ccode\u003econfusionMatrix\u003c/code\u003e object as input and returns the Kappa statistic as a float.\u003c/p\u003e\n"],["\u003cp\u003eThis function is part of the Earth Engine API and can be used to evaluate the performance of classification models.\u003c/p\u003e\n"],["\u003cp\u003eUsage examples are provided in JavaScript and Python for calculating the Kappa statistic from a confusion matrix.\u003c/p\u003e\n"]]],["The `ConfusionMatrix.kappa()` method computes the Kappa statistic, returning a float value. This method operates on a confusion matrix, which is typically generated from a classifier. The provided examples demonstrate constructing a confusion matrix from an array, then utilizing `kappa()` to calculate the Kappa statistic. They also showcase related accuracy metrics like overall, consumer's, and producer's accuracy.\n"],null,[]]