predictive-analytics-engine
Execute predictive analytics on SAP data to forecast metrics like revenue and counts using machine learning algorithms for informed decision-making.
Instructions
Run predictive analytics on SAP data
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | ||
algorithm | No | ML algorithm to use | auto_select |
entityType | No | SAP entity type for prediction | |
features | No | Input features for prediction | |
forecastPeriod | No | Prediction time horizon | |
includeConfidenceBounds | No | Include prediction confidence intervals | |
modelId | No | Existing model ID (for evaluate/get_model) | |
serviceId | No | SAP service ID | |
targetMetric | No | Metric to predict (e.g., revenue, count, average) | |
trainingDataDays | No | Days of historical data for training |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"enum": [
"predict",
"train",
"evaluate",
"list_models",
"get_model"
],
"type": "string"
},
"algorithm": {
"default": "auto_select",
"description": "ML algorithm to use",
"enum": [
"linear_regression",
"time_series",
"neural_network",
"auto_select"
],
"type": "string"
},
"entityType": {
"description": "SAP entity type for prediction",
"type": "string"
},
"features": {
"description": "Input features for prediction",
"items": {
"type": "string"
},
"type": "array"
},
"forecastPeriod": {
"additionalProperties": false,
"description": "Prediction time horizon",
"properties": {
"period": {
"enum": [
"hours",
"days",
"weeks",
"months"
],
"type": "string"
},
"size": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"period",
"size"
],
"type": "object"
},
"includeConfidenceBounds": {
"default": true,
"description": "Include prediction confidence intervals",
"type": "boolean"
},
"modelId": {
"description": "Existing model ID (for evaluate/get_model)",
"type": "string"
},
"serviceId": {
"description": "SAP service ID",
"type": "string"
},
"targetMetric": {
"description": "Metric to predict (e.g., revenue, count, average)",
"type": "string"
},
"trainingDataDays": {
"default": 30,
"description": "Days of historical data for training",
"type": "number"
}
},
"required": [
"action"
],
"type": "object"
}