MLPredictionDefinition

Version 

Introduced in API version 48.0.

Supported SOAP API Calls 

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Supported REST API Methods 

DELETE, GET, HEAD, PATCH, POST, Query

Fields 

ApplicationId 

  • Type: reference

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 48.0

  • Relationship name: Application

  • Relationship type: relationship

  • Refers to: AIApplication

Description 

  • Type: string
  • Required: No
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 48.0

DeveloperName 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The unique name for the ML Prediction Definition object.

FullName 

  • Type: string

  • Required: No

  • Properties: Create, Group, Nillable

  • Introduced: API version 48.0

  • Description: The internal name of the object. White spaces and special characters are escaped for validity. The name must:

  • Contain characters, letters, or the underscore (_) character

  • Must start with a letter

  • Can’t end with an underscore

  • Can’t contain two consecutive underscore characters.

Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.

Language 

  • Type: picklist

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

  • Description: The language of the ML Prediction Definition.

  • Possible values:

    • en_US — English

    • de — German

    • es — Spanish

    • fr — French

    • it — Italian

    • ja — Japanese

    • sv — Swedish

    • ko — Korean

    • zh_TW — Chinese (Traditional)

    • zh_CN — Chinese (Simplified)

    • pt_BR — Portuguese (Brazil)

    • nl_NL — Dutch

    • da — Danish

    • th — Thai

    • fi — Finnish

    • ru — Russian

    • es_MX — Spanish (Mexico)

    • no — Norwegian

ManageableState 

  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Description: Indicates the manageable state of the specified component that is contained in a package.

  • Possible values:

    • beta — beta

    • deleted — deleted

    • deprecated — deprecated

    • deprecatedEditable — deprecatedEditable

    • installed — installed

    • installedEditable — installedEditable

    • released — released

    • unmanaged — unmanaged

MasterLabel 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: Label for the ML Prediction Definition. In the UI, this field is MasterLabel.

Metadata 

  • Type: complexvalue

  • Required: No

  • Properties: Create, Nillable, Update

  • Introduced: API version 48.0

  • Description: ML Prediction Definition metadata. Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.

NamespacePrefix 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The namespace prefix associated with this object. Each Developer Edition organization that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix__componentName notation.

The namespace prefix can have one of the following values:

  • In Developer Edition organizations, the namespace prefix is set to the namespace prefix of the organization for all objects that support it. There is an exception if an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition organization of the package developer.
  • In organizations that are not Developer Edition organizations, NamespacePrefix is only set for objects that are part of an installed managed package. There is no namespace prefix for all other objects.

NegativeExpressionId 

  • Type: reference

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 48.0

  • Relationship name: NegativeExpression

  • Relationship type: relationship

  • Refers to: MLFilter

PositiveExpressionId 

  • Type: reference

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 48.0

  • Relationship name: PositiveExpression

  • Relationship type: relationship

  • Refers to: MLFilter

PredictionField 

  • Type: string
  • Required: No
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 48.0

PredictionStrategy 

  • Type: string
  • Required: No
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 48.0

Priority 

  • Type: int
  • Required: No
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 52.0

PushbackField 

  • Type: string
  • Required: No
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 48.0

Status 

  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Restricted picklist, Sort

  • Introduced: API version 48.0

  • Possible values:

    • Enabled — Enabled

    • Disabled — Disabled

    • Draft — Draft

Type 

  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Restricted picklist, Sort

  • Introduced: API version 48.0

  • Possible values:

    • ScoringSpecificOutcome — 0

    • BinaryClassification — 1

    • MulticlassClassification — 2

    • Regression — 3

    • LanguageDetection — 4

    • DeepLearningIntentClassification — 5

    • DeepLearningNameEntityRecognition — 6

    • GlobalDeepLearningIntentClassification — 7

    • GlobalDeepLearningNameEntityRecognition — 8

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!