Interface TrainedModel
- All Superinterfaces:
NamedXContentObject,ToXContent,ToXContentObject
- All Known Implementing Classes:
Ensemble,LangIdentNeuralNetwork,Tree
public interface TrainedModel extends NamedXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>getFeatureNames()java.lang.StringgetName()
-
Method Details
-
getFeatureNames
java.util.List<java.lang.String> getFeatureNames()- Returns:
- List of featureNames expected by the model. In the order that they are expected
-
getName
java.lang.String getName()- Specified by:
getNamein interfaceNamedXContentObject- Returns:
- The name of the model
-