ee.Classifier.setOutputMode
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
क्लासिफ़ायर का आउटपुट फ़ॉर्मैट सेट करता है.
हर क्लासिफ़ायर के लिए काम करने वाले मोड की सूची देखने के लिए, https://developers.google.com/earth-engine/guides/classification पर जाएं.
इस्तेमाल | रिटर्न |
---|
Classifier.setOutputMode(mode) | डेटा की कैटगरी तय करने वाला |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: classifier | डेटा की कैटगरी तय करने वाला | इनपुट क्लासिफ़ायर. |
mode | स्ट्रिंग | आउटपुट मोड. इनमें से कोई एक:
- CLASSIFICATION (डिफ़ॉल्ट): आउटपुट, क्लास नंबर होता है.
- REGRESSION: यह स्टैंडर्ड रिग्रेशन का नतीजा है.
- PROBABILITY: आउटपुट में, कैटगरी सही होने की संभावना दी जाती है.
- MULTIPROBABILITY: आउटपुट, संभावनाओं का एक कलेक्शन होता है. इसमें यह बताया जाता है कि देखी गई क्लास के हिसाब से, हर क्लास सही है या नहीं.
- रॉ: आउटपुट, कैटगरी तय करने की प्रोसेस के इंटरनल रिप्रज़ेंटेशन का कलेक्शन होता है. उदाहरण के लिए, एक से ज़्यादा फ़ैसले लेने वाले ट्री मॉडल में रॉ वोट.
- RAW_REGRESSION: आउटपुट, रिग्रेशन प्रोसेस के इंटरनल रिप्रज़ेंटेशन का ऐरे होता है. उदाहरण के लिए, कई रेग्रेसन ट्री के रॉ अनुमान.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]