Prediction

public class Prediction

ENTERPRISE EDITION ONLY

Predictive model manager class for registering and unregistering predictive models.

  • Register a predictive model by the given name.

    Declaration

    Swift

    public func registerModel(_ model: PredictiveModel, withName name: String)

    Parameters

    model

    The predictive model.

    name

    The name of the predictive model.

  • Unregister a predictive model of the given name.

    Declaration

    Swift

    public func unregisterModel(withName name: String)

    Parameters

    name

    The name of the predictive model.