---
schema_version: "1"
id: a1e6839bdfe43e5cf62ecef0464ce6ae5cb86865843feaf7cb10c5f1484bcac5
title: MLPredictionDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_mlpredictiondefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mlpredictiondefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a911aba7f8976514ec69275b13f7e6281f6162bded6eb9a8f5e2997677ebd2a2
description: Represents a prediction definition that specifies details about the prediction. This type extends the Metadata metadata type and inherits its fullName field.
---
# MLPredictionDefinition

Represents a prediction definition that specifies details about the prediction. This type extends the Metadata metadata type and inherits its fullName field.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## File Suffix and Directory Location

MLPredictionDefinition components have the suffix .mlPrediction and are stored in the mlPredictions folder.

## Version

MLPredictionDefinition is available in API version 50.0 and later.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d672555e89">Field Name</th>

              <th class="featureTableHeader  " id="d672555e92">Field Type</th>

              <th class="featureTableHeader  " id="d672555e95">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">aiApplicationDeveloperName</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">string</td>

              <td class="entry" headers="d672555e95" data-title="Description">Required. Represents the developer name of the parent AI application. 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.</td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">description</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">string</td>

              <td class="entry" headers="d672555e95" data-title="Description">Description of the prediction.</td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">developerName</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">string</td>

              <td class="entry" headers="d672555e95" data-title="Description">Required. Represents the name of the prediction definition. 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.<div class="box message info">
                  <div class="inner">
                    <div class="bd">
                      <div class="media">
                        <img class="img mtm" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p>Only users with View DeveloperName OR View Setup
                            and Configuration permission can view, group, sort, and filter this
                            field.</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">string</td>

              <td class="entry" headers="d672555e95" data-title="Description">Label that identifies the ML prediction definition throughout the Salesforce
                user interface.</td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">negativeExpression</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mldatadefinition.htm#MLFilterVariable">MLFilter</a></td>

              <td class="entry" headers="d672555e95" data-title="Description">Reserved for future use.</td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">positiveExpression</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mldatadefinition.htm#MLFilterVariable">MLFilter</a></td>

              <td class="entry" headers="d672555e95" data-title="Description">Reserved for future use.</td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">predictionField</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">string</td>

              <td class="entry" headers="d672555e95" data-title="Description">Field that the prediction is based on.</td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">priority</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">int</td>

              <td class="entry" headers="d672555e95" data-title="Description">Reflects the priority of the MLPD object when an AIApplication has multiple
                child MLPDs. Nillable.</td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">pushbackField</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">string</td>

              <td class="entry" headers="d672555e95" data-title="Description">Field that the prediction writes scores to.</td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">status</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">MLPredictionDefinitionStatus (enumeration of type string)</td>

              <td class="entry" headers="d672555e95" data-title="Description">Required. The status of the prediction. Valid values are: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Enabled</samp></li>

                  <li class="li"><samp class="codeph nolang">Disabled</samp></li>

                  <li class="li"><samp class="codeph nolang">Draft</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d672555e89" data-title="Field Name"><span class="keyword parmname">type</span></td>

              <td class="entry" headers="d672555e92" data-title="Field Type">AIPredictionType (enumeration of type string)</td>

              <td class="entry" headers="d672555e95" data-title="Description">Required. The type of model that returns the prediction values. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">BinaryClassification</samp></li>

                  <li class="li"><samp class="codeph nolang">DeepLearningIntentClassification</samp></li>

                  <li class="li"><samp class="codeph nolang">DeepLearningNameEntityRecognition</samp></li>

                  <li class="li"><samp class="codeph nolang">GlobalDeepLearningIntentClassification</samp></li>

                  <li class="li"><samp class="codeph nolang">GlobalDeepLearningNameEntityRecognition</samp></li>

                  <li class="li"><samp class="codeph nolang">LanguageDetection</samp></li>

                  <li class="li"><samp class="codeph nolang">MulticlassClassification</samp></li>

                  <li class="li"><samp class="codeph nolang">Regression</samp></li>

                  <li class="li"><samp class="codeph nolang">ScoringSpecificOutcome</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).