PredictabilityEstimateVersion - Global
-
- UpdatedJan 30, 2025
- 4 minutes to read
- Yokohama
- API reference
The PredictabilityEstimateVersion API is a scriptable object used in Predictive Intelligence stores.
This API requires the Predictive Intelligence plugin (com.glide.platform_ml) and is provided
within the sn_ml
namespace.
Use this API when working with predictability estimate versions based on PredictabilityEstimate API objects in the PredictabilityEstimate store.
The system activates the most recent version of the predictability estimate when it completes training, and only allows one version to be active at a time. However, you can activate any previously trained version you want to use to make predictions.
PredictabilityEstimateVersion - getProperties()
Gets predictability estimate object properties and version number.
Name | Type | Description |
---|---|---|
None |
Example
The following example gets properties of the active object version in the store.
Output:
PredictabilityEstimateVersion - getResults()
Returns JSON results containing suggested input fields for an output field.
Name | Type | Description |
---|---|---|
None |
Example
The following example shows how to get results for a selected version of a predictability estimate in the store.
Output:
PredictabilityEstimateVersion - getStatus(Boolean includeDetails)
Gets training completion status.
Name | Type | Description |
---|---|---|
includeDetails | Boolean | Flag that indicates whether to return status details. Valid values:
Default: False |
Example
The following example shows a successful result with training complete.
Output:
Example
The following example shows an unsuccessful result with training complete.
Output:
PredictabilityEstimateVersion - getVersionNumber()
Gets the version number of a predictability estimate object.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
String | Version number. |
Example
The following example shows how to get a version number.
Output: