Interface IPredictiveModel
An interface allowing an application to integrate a machine learning model into the Couchbase Lite query interface
Namespace: Couchbase.Lite.Enterprise.Query
Assembly: Couchbase.Lite.dll
Syntax
public interface IPredictiveModel
Remarks
NOTE: This is an enterprise edition feature
Methods
| Improve this Doc View SourcePredict(DictionaryObject)
This function is called in response to the presence of a Prediction(String, IExpression) call inside of an IQuery.
Declaration
DictionaryObject Predict(DictionaryObject input)
Parameters
Type | Name | Description |
---|---|---|
DictionaryObject | input | Contains the information requested via the call to Prediction(String, IExpression) |
Returns
Type | Description |
---|---|
DictionaryObject | The information that will be written to the Result |
Remarks
NOTE: This is an enterprise edition feature