Package com.couchbase.lite
Class Prediction
- java.lang.Object
-
- com.couchbase.lite.Prediction
-
public final class Prediction extends 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(String name, PredictiveModel model)
Register a predictive model by the given name.void
unregisterModel(String name)
Unregister the predictive model of the given name.
-
-
-
Method Detail
-
registerModel
public void registerModel(@NonNull 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 String name)
Unregister the predictive model of the given name.- Parameters:
name
- The name of the predictive model.
-
-