ee.Classifier.decisionTree
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک طبقه بندی کننده ایجاد می کند که درخت تصمیم داده شده را اعمال می کند.
استفاده | برمی گرداند | ee.Classifier.decisionTree(treeString) | طبقه بندی کننده |
استدلال | تایپ کنید | جزئیات | treeString | رشته | درخت تصمیم که در قالب متن تولید شده توسط R و سایر ابزارهای مشابه مشخص شده است. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]