Package com.couchbase.lite
Class Prediction
- java.lang.Object
-
- com.couchbase.lite.Prediction
-
public final class Prediction extends java.lang.Object
ENTERPRISE EDITION API
The prediction model manager for registering and unregistering predictive models.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerModel(java.lang.String name, PredictiveModel model)
Register a predictive model by the given name.void
unregisterModel(java.lang.String name)
Unregister the predictive model of the given name.
-
-
-
Method Detail
-
registerModel
public void registerModel(@NonNull java.lang.String name, @NonNull PredictiveModel model)
Register a predictive model by the given name.- Parameters:
name
- The name of the predictive model.model
- The predictive model.
-
unregisterModel
public void unregisterModel(@NonNull java.lang.String name)
Unregister the predictive model of the given name.- Parameters:
name
- The name of the predictive model.
-
-