お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、アクセスを維持するために
非商用目的での利用資格を確認する必要があります。2025 年 9 月 26 日までに確認が完了していない場合、アクセスが保留されることがあります。
ee.Reducer.percentile
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定されたパーセンタイルを計算するリデューサーを作成します。たとえば、[0, 50, 100] が指定された場合、それぞれ最小値、中央値、最大値を含む「p0」、「p50」、「p100」という名前の出力が生成されます。入力数が少ない場合(maxRaw まで)は、パーセンタイルが直接計算されます。入力数が多い場合は、パーセンタイルがヒストグラムから導出されます。
| 用途 | 戻り値 |
|---|
ee.Reducer.percentile(percentiles, outputNames, maxBuckets, minBucketWidth, maxRaw) | レデューサ |
| 引数 | タイプ | 詳細 |
|---|
percentiles | リスト | 0 ~ 100 の数値のリスト。 |
outputNames | リスト、デフォルト: null | 出力の名前のリスト。デフォルトの名前を取得する場合は null。 |
maxBuckets | 整数、デフォルト: null | ヒストグラムの作成時に使用するバケットの最大数。2 の累乗に切り上げられます。 |
minBucketWidth | 浮動小数点数、デフォルト: null | ヒストグラム バケットの最小幅。2 の累乗を許可する場合は null。 |
maxRaw | 整数、デフォルト: null | 最初のヒストグラムを構築する前に累積する値の数。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],["The `ee.Reducer.percentile` function computes specified percentiles from a dataset. It accepts a list of `percentiles` (0-100) and optional `outputNames`. For large datasets, it builds a histogram with a `maxBuckets` limit and `minBucketWidth`. For smaller datasets (up to `maxRaw`), it computes percentiles directly. The function returns a Reducer, producing outputs with names like 'p0', 'p50', etc., representing the corresponding percentiles. The user can set custom names or null for defaults.\n"]]