お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Classifier.setOutputMode
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
分類システムの出力形式を設定します。
各分類システムでサポートされているモードの一覧については、https://developers.google.com/earth-engine/guides/classification をご覧ください。
用途 | 戻り値 |
---|
Classifier.setOutputMode(mode) | 分類器 |
引数 | タイプ | 詳細 |
---|
this: classifier | 分類器 | 入力分類器。 |
mode | 文字列 | 出力モード。次のいずれか:
- CLASSIFICATION(デフォルト): 出力はクラス番号です。
- REGRESSION: 出力は標準回帰の結果です。
- PROBABILITY: 出力は、分類が正しい確率です。
- MULTIPROBABILITY: 出力は、検出されたクラスの順序で、各クラスが正しい確率の配列です。
- RAW: 出力は、分類プロセスの内部表現の配列です。たとえば、マルチディシジョン ツリー モデルの未加工の投票結果などです。
- RAW_REGRESSION: 出力は、回帰プロセスの内部表現の配列です。たとえば、複数回帰ツリーの元の予測などです。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eSets the output mode for a classifier, impacting how results are presented.\u003c/p\u003e\n"],["\u003cp\u003eOffers various output modes like CLASSIFICATION, REGRESSION, PROBABILITY, MULTIPROBABILITY, RAW, and RAW_REGRESSION, each providing different data representations.\u003c/p\u003e\n"],["\u003cp\u003eNot all classifiers support every output mode; CLASSIFICATION is the default.\u003c/p\u003e\n"],["\u003cp\u003eThe setOutputMode function takes a string argument representing the desired mode and returns the classifier instance.\u003c/p\u003e\n"]]],[],null,["# ee.Classifier.setOutputMode\n\nSets a classifier's output format.\n\n\u003cbr /\u003e\n\nRefer to https://developers.google.com/earth-engine/guides/classification for a list of supported modes for each classifier.\n\n| Usage | Returns |\n|----------------------------------|------------|\n| Classifier.setOutputMode`(mode)` | Classifier |\n\n| Argument | Type | Details |\n|--------------------|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `classifier` | Classifier | An input classifier. |\n| `mode` | String | The output mode. One of: - CLASSIFICATION (default): The output is the class number. - REGRESSION: The output is the result of standard regression. - PROBABILITY: The output is the probability that the classification is correct. - MULTIPROBABILITY: The output is an array of probabilities that each class is correct ordered by classes seen. - RAW: The output is an array of the internal representation of the classification process. For example, the raw votes in multi-decision tree models. - RAW_REGRESSION: The output is an array of the internal representation of the regression process. For example, the raw predictions of multiple regression trees. |"]]