ee.Classifier.schema
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."],[[["This function reveals the names of the inputs utilized by a classifier."],["It returns null if the classifier hasn't been trained with any data yet."],["The function is accessed using the `Classifier.schema()` syntax and it returns a list of input names."],["This method requires a classifier object as input."]]],["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"]]