{ "sections": [ "title", "description", "supported_soap_calls", "supported_rest_api_http_methods", "fields" ], "title": "MLPredictionDefinition - Tooling API", "description": "Represents the details about a prediction within a prediction definition used in a machine learning (ML) application. Available in API version 50.0 and later.", "supported_soap_calls": "`create()`, `delete()`, `describeSObjects()`, `query()`, `retrieve()`, `update()`, `upsert()`", "supported_rest_api_http_methods": "`DELETE`, `GET`, `HEAD`, `PATCH`, `POST`, `Query`", "fields_columns": [ "type", "properties", "description" ], "fields": { "ApplicationId": { "type": "reference", "properties": "Filter, Group, Nillable, Sort", "description": "The ID of the application associated with the prediction definition. This is a relationship field." }, "Description": { "type": "string", "properties": "Filter, Group, Nillable, Sort", "description": "Description of the prediction." }, "DeveloperName": { "type": "string", "properties": "Filter, Group, Nillable, Sort", "description": "The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Label is Record Type Name. This field is automatically generated, but you can supply your own value if you create the record using the API. Note: When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance may slow as a DeveloperName is generated for each record." }, "FullName": { "type": "string", "properties": "Create, Group, Nillable", "description": "The full name of the associated MLPredictionDefinition type in Metadata API. The full name can include a namespace prefix. 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", "properties": "Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort", "description": "The language of the MLPredictionDefinition." }, "ManageableState": { "type": "ManageableState enumerated list", "properties": "Filter, Group, Nillable, Restricted picklist, Sort", "description": "Indicates the manageable state of the specified component that is contained in a package: beta deleted deprecated deprecatedEditable installed installedEditable released unmanaged" }, "MasterLabel": { "type": "string", "properties": "Filter, Group, Nillable, Sort", "description": "Label that identifies the MLPredictionDefinition definition throughout the Salesforce user interface." }, "Metadata": { "type": "AIApplication", "properties": "Create, Nillable, Update", "description": "The MLPredictionDefinition’s 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." }, "MLDataDefinitions": { "type": "QueryResult", "properties": "Nillable", "description": "A list of prediction definition records associated with an ML application record." }, "NamespacePrefix": { "type": "string", "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", "properties": "Filter, Group, Nillable, Sort", "description": "Reserved for future use. This is a relationship field." }, "PositiveExpressionId": { "type": "reference", "properties": "Filter, Group, Nillable, Sort", "description": "Reserved for future use. This is a relationship field." }, "PredictionField": { "type": "string", "properties": "Filter, Group, Nillable, Sort", "description": "Field that the prediction is based on." }, "PredictionStrategy": { "type": "string", "properties": "Filter, Group, Nillable, Sort", "description": "Strategy that the prediction is based on." }, "Priority": { "type": "int", "properties": "Filter, Group, Nillable, Sort", "description": "Reflects the priority of the MLPredictionDefinition (MLPD) object when an AIApplication has multiple child MLPDs." }, "PushbackField": { "type": "string", "properties": "Filter, Group, Nillable, Sort", "description": "Field that the prediction writes scores to." }, "Status": { "type": "picklist", "properties": "Filter, Group, Restricted picklist, Nillable, Sort", "description": "The status of the prediction. Valid values are: Disabled Draft Enabled" }, "Type": { "type": "picklist", "properties": "Filter, Group, Restricted picklist, Nillable, Sort", "description": "The type of model that returns the prediction values. Valid values are: BinaryClassification—1 DeepLearningIntentClassification—5 DeepLearningNameEntityRecognition—6 GlobalDeepLearningIntentClassification—7 GlobalDeepLearningNameEntityRecognition—8 LanguageDetection—4 MulticlassClassification—2 Regression—3 ScoringSpecificOutcome—0" } } }