Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Classifier.schema
Stay organized with collections
Save and categorize content based on your preferences.
Returns the names of the inputs used by this classifier or null if this classifier has not had any training data added yet.
Usage | Returns | Classifier.schema() | List |
Argument | Type | Details | this: classifier | Classifier | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eThis function reveals the names of the inputs utilized by a classifier.\u003c/p\u003e\n"],["\u003cp\u003eIt returns null if the classifier hasn't been trained with any data yet.\u003c/p\u003e\n"],["\u003cp\u003eThe function is accessed using the \u003ccode\u003eClassifier.schema()\u003c/code\u003e syntax and it returns a list of input names.\u003c/p\u003e\n"],["\u003cp\u003eThis method requires a classifier object as input.\u003c/p\u003e\n"]]],["The `Classifier.schema()` method retrieves the names of the input features used by a classifier. It returns a list of input names if training data has been added; otherwise, it returns null. The method takes one argument: `classifier` of type `Classifier`. The output of this method is a list containing the names of the inputs, if any.\n"],null,["# ee.Classifier.schema\n\nReturns the names of the inputs used by this classifier or null if this classifier has not had any training data added yet.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|---------|\n| Classifier.schema`()` | List |\n\n| Argument | Type | Details |\n|--------------------|------------|---------|\n| this: `classifier` | Classifier | |"]]