Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
ee.Classifier.setOutputMode
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Sınıflandırıcının çıkış biçimini belirler.
Her sınıflandırıcı için desteklenen modların listesi için https://developers.google.com/earth-engine/guides/classification adresine bakın.
Kullanım | İadeler |
---|
Classifier.setOutputMode(mode) | Sınıflandırıcı |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
bu: classifier | Sınıflandırıcı | Giriş sınıflandırıcısı. |
mode | Dize | Çıkış modu. Şunlardan biri:
- CLASSIFICATION (varsayılan): Çıkış, sınıf numarasıdır.
- REGRESSION: Çıkış, standart regresyonun sonucudur.
- OLASILIĞI: Çıkış, sınıflandırmanın doğru olma olasılığıdır.
- ÇOKOLASILIK: Çıkış, her sınıfın doğru olma olasılıklarının bir dizisidir ve görülen sınıflara göre sıralanır.
- HAM: Çıkış, sınıflandırma sürecinin dahili temsilinin bir dizisidir. Örneğin, çoklu karar ağacı modellerindeki ham oylar.
- RAW_REGRESSION: Çıkış, regresyon sürecinin dahili temsilinin bir dizisidir. Örneğin, çoklu regresyon ağaçlarının ham tahminleri.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]