---
schema_version: "1"
id: c9a6f13ecf279951ed8fae4e708024ae2b58fd72102f0214315339b289c2f682
title: MLPredictionDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_mlpredictiondefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_mlpredictiondefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1eba950e5a039071a41232db21d6424333b946778dcf8174a28793bb09fe0c8f
description: Represents a prediction definition that specifies details about the prediction. This object is available in API version 50.0 and later.
---
# MLPredictionDefinition

Represents a prediction definition that specifies details about the prediction. This object is available in API version 50.0 and later.

## Supported Calls

delete(), describeSObjects(), query(), retrieve()

## Fields

| Field | Details |
| --- | --- |
| ApplicationId | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The unique ID of the parent AI Application.



 |
| DeveloperName | 

Type

string

Properties

Filter, Group, 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.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.















 |
| Language | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The language of the prediction. Possible values are:

- da—Danish
- de—German
- en\_US—English
- es—Spanish
- es\_MX—Spanish (Mexico)
- fi—Finnish
- fr—French
- it—Italian
- ja—Japanese
- ko—Korean
- nl\_NL—Dutch
- no—Norwegian
- pt\_BR—Portuguese (Brazil)
- ru—Russian
- sv—Swedish
- th—Thai
- zh\_CN—Chinese (Simplified)
- zh\_TW—Chinese (Traditional)





 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Sort

Description

Label that identifies the prediction throughout the Salesforce user interface.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Specifies the namespace of the prediction, if installed with a managed package.



 |
| PredictionField | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Field that the prediction is based on.



 |
| PushbackField | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Field that the prediction writes scores to.



 |
| Status | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The status of the prediction. Possible values are:

- Disabled
- Draft
- Enabled





 |
| Type | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The type of model that returns the prediction values. Possible values are:

- BinaryClassification
- DeepLearningIntentClassification
- DeepLearningNameEntityRecognition
- GlobalDeepLearningIntentClassification
- GlobalDeepLearningNameEntityRecognition
- LanguageDetection
- MulticlassClassification
- Regression
- ScoringSpecificOutcome





 |