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.decisionTree
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen karar ağacını uygulayan bir sınıflandırıcı oluşturur.
Kullanım | İadeler |
---|
ee.Classifier.decisionTree(treeString) | Sınıflandırıcı |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
treeString | Dize | R ve benzeri araçlar tarafından oluşturulan metin biçiminde belirtilen karar ağacı. |
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-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eCreates a classifier object that can be used for image classification based on a provided decision tree.\u003c/p\u003e\n"],["\u003cp\u003eThe decision tree must be a string in the format generated by R or similar tools, specifying the classification logic.\u003c/p\u003e\n"],["\u003cp\u003eThis classifier can be applied to images in Earth Engine to categorize pixels based on the decision tree rules.\u003c/p\u003e\n"]]],["This document describes the `ee.Classifier.decisionTree` function, which constructs a classifier from a decision tree. The function takes a single string argument, `treeString`, that represents the decision tree's structure in text format. The `treeString` format is compatible with outputs from R and similar tools. The function returns a classifier that can apply the specified decision tree to new data.\n"],null,["# ee.Classifier.decisionTree\n\nCreates a classifier that applies the given decision tree.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------|------------|\n| `ee.Classifier.decisionTree(treeString)` | Classifier |\n\n| Argument | Type | Details |\n|--------------|--------|-----------------------------------------------------------------------------------------|\n| `treeString` | String | The decision tree, specified in the text format generated by R and other similar tools. |"]]