DataSettings
Defines how input data is interpreted and mapped during model execution, including column bindings, filtering, grouping, and evaluation tolerance settings.
Properties of DataSettings
| Name | Type | Description |
| RowFilter | string | Optional expression used to filter input rows before evaluation. Rows that do not satisfy this filter are excluded from inference. |
| ActionColumnName | string | Name of the column that contains the action or outcome value associated with each data row. |
| WeightColumnName | string | Name of the column that contains the relative weight applied to each row during confidence calculation. |
| PriorityColumnName | string | Name of the column that defines row execution priority. Higher priority rows may influence evaluation order or rule dominance. |
| DecisionIdColumnName | string | Name of the column that uniquely identifies a decision rule or row within the dataset. |
| ModelName | string | Optional logical name assigned to the model configuration for identification, versioning, or trace reporting. |
| ColumnGroups | ColumnGroups | Defines logical groupings of columns that may be evaluated together during inference. |
| NullValueBehavior | enumNullValueBehavior | Controls how null rule values are handled during evaluation. |
Example
{
"InputSource": {
"LastPrice": 102.45,
"Volume": 1500000,
"VolatilityIndex": 22.8,
"MovingAverageSpread": 1.35
},
"ModelSource": {
"resultsets": {
"TradingRules": [
{
"ID": "TR-001",
"VolatilityIndex": ">= 20",
"MovingAverageSpread": ">= 1.0",
"Weight": 0.8,
"IsEnabled": true,
"Action": "Buy"
},
{
"ID": "TR-002",
"VolatilityIndex": "< 20",
"MovingAverageSpread": "< 0",
"Weight": 0.6,
"IsEnabled": true,
"Action": "Sell"
},
{
"ID": "TR-003",
"Weight": 0.2,
"IsEnabled": true,
"Action": "Hold"
}
]
}
},
"Options": {
"DataSettings": {
"ActionColumnName": "Action",
"PriorityColumnName": "VolatilityIndex",
"WeightColumnName": "Weight",
"DecisionIdColumnName": "ID",
"RowFilter": "IsEnabled = true",
"ModelName": "TradingDecisionModel"
},
"ContextOptions": {
"CustomTag": "Trade-Session-Alpha"
},
"ConfidencePolicy": {
"FitWeight": 1,
"SeparationWeight": 0.03
},
"OutputSettings": {
"ExecutionTraceMode": "Compact"
}
}
}