公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Reducer.kendallsCorrelation
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
创建用于计算 Kendall Tau-b 等级相关性的 reducer。正 tau 值表示呈上升趋势;负值表示呈下降趋势。如需了解详情,请访问 https://commons.apache.org/proper/commons-math/javadocs/api-3.6.1/org/apache/commons/math3/stat/correlation/KendallsCorrelation.html。
用法 | 返回 |
---|
ee.Reducer.kendallsCorrelation(numInputs) | 缩减器 |
参数 | 类型 | 详细信息 |
---|
numInputs | 整数,默认值:1 | 预期输入源的数量(1 或 2)。如果指定为 1,则自动为 x 值生成序列号(这意味着不能有相同的值)。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["This content describes a reducer that calculates Kendall's Tau-b rank correlation. It returns a reducer object and expects one or two numerical inputs. If only one input is provided, the reducer generates sequence numbers for the x-values, ensuring no ties. The output indicates trend direction: positive tau suggests an increasing trend, while negative tau indicates a decreasing one. The `numInputs` argument defines the expected number of inputs, defaulting to one.\n"],null,[]]