ee.Classifier.setOutputMode
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
قالب خروجی یک طبقهبندی کننده را تنظیم میکند.
برای مشاهده لیستی از حالت های پشتیبانی شده برای هر طبقه بندی، به https://developers.google.com/earth-engine/guides/classification مراجعه کنید.
استفاده | برمی گرداند | Classifier. setOutputMode (mode) | طبقه بندی کننده |
استدلال | تایپ کنید | جزئیات | این: classifier | طبقه بندی کننده | یک طبقه بندی کننده ورودی |
mode | رشته | حالت خروجی یکی از:- طبقه بندی (پیش فرض): خروجی شماره کلاس است.
- رگرسیون: خروجی حاصل رگرسیون استاندارد است.
- احتمال: خروجی احتمال صحت طبقه بندی است.
- چند احتمال: خروجی آرایه ای از احتمالات است که هر کلاس بر اساس کلاس های دیده شده درست است.
- RAW: خروجی آرایه ای از نمایش داخلی فرآیند طبقه بندی است. به عنوان مثال، آرای خام در مدل های درختی چند تصمیم گیری.
- RAW_REGRESSION: خروجی آرایه ای از نمایش داخلی فرآیند رگرسیون است. به عنوان مثال، پیش بینی های خام درختان رگرسیون چندگانه.
|
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]