public final class Prediction extends Object
The prediction model manager for registering and unregistering predictive models.
Modifier and Type | Method and 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.
|
public void registerModel(@NonNull String name, @NonNull PredictiveModel model)
name
- The name of the predictive model.model
- The predictive model.public void unregisterModel(@NonNull String name)
name
- The name of the predictive model.