Class Prediction
A prediction manager used to register / unregister IPredictiveModel implementations inside of Couchbase Lite
Inheritance
System.Object
Prediction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite.Enterprise.Query
Assembly: Couchbase.Lite.dll
Syntax
public sealed class Prediction
Remarks
NOTE: This is an enterprise edition feature
Methods
| Improve this Doc View SourceRegisterModel(String, IPredictiveModel)
Registers a given predictive model using the given name. If a model for that name already exists it is overwritten.
Declaration
public void RegisterModel(string name, IPredictiveModel model)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name to use for registering the model |
IPredictiveModel | model | The model to register |
Remarks
NOTE: This is an enterprise edition feature
UnregisterModel(String)
Unregisters the model registered to the given name
Declaration
public void UnregisterModel(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the model to unregister |
Remarks
NOTE: This is an enterprise edition feature