---
schema_version: "1"
id: 2c9d9be4d042d510d381408e796939140864492329c078d8026ce62d8c43e3de
title: ConnectApi.CdpMlPredictSettingsInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_cdp_ml_predict_settings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_cdp_ml_predict_settings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f369fd050a6858da57fdf59d481e3286b9cd0fc94057c808b83e40e72de600fb
description: Input representation for the model settings used to generate a prediction.
---
# ConnectApi.CdpMlPredictSettingsInput

Input representation for the model settings used to generate a prediction.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| aggregateFunctions | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<String\> | List of aggregate functions for the prediction. | Optional | 59.0 |
| maxPrescriptions | Integer | Maximum number of recommendations. The default value is \-1 (unlimited) and the allowed range is \-1 through 200. | Optional | 59.0 |
| maxTopFactors | Integer | Maximum number of top factors. The default value is 0 and the allowed range is 0 through 3. | Optional | 59.0 |
| prescriptionImpactPercentage | Integer | The minimum impact percentage of the prescriptions to return. Only prescriptions whose impact percentage is greater than or equal to the specified percentage are returned. The default value is 0 and the allowed range is 0 through 100. | Optional | 59.0 |