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 Details

    • 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.