|
Couchbase Lite C
Couchbase Lite C API
|
Predictive Model
More...
#include <cbl/CBLPrediction.h>
Data Fields | |
| void *_cbl_nullable | context |
A pointer to any external data needed by the prediction callback, which will receive this as its first parameter. More... | |
| FLMutableDict _cbl_nullable(* | prediction )(void *_cbl_nullable context, FLDict input) |
| Prediction callback, called from within a query (or document indexing) to run the prediction. More... | |
| void(* | _cbl_nullable )(void *context) |
| Unregistered callback, called if the model is unregistered, so it can release resources. More... | |
Predictive Model
| void(* CBLPredictiveModel::_cbl_nullable) (void *context) |
Unregistered callback, called if the model is unregistered, so it can release resources.
| void* _cbl_nullable CBLPredictiveModel::context |
A pointer to any external data needed by the prediction callback, which will receive this as its first parameter.
| FLMutableDict _cbl_nullable(* CBLPredictiveModel::prediction) (void *_cbl_nullable context, FLDict input) |
Prediction callback, called from within a query (or document indexing) to run the prediction.
| context | The value of the CBLPredictiveModel's context field. |
| input | The input dictionary from the query. |