Explain ML prediction
stoquant_explain_ml_predictionExplain why a stock's ML prediction is bullish or bearish by showing top feature contributions with signed magnitudes. Identify which signals pushed the probability up or down.
Instructions
Top feature contributions behind a ticker's ML outperformance prediction — which signals pushed the probability up or down, with signed magnitudes. Use after stoquant_get_ml_prediction when the user asks WHY the model is bullish/bearish. horizon must match the prediction you are explaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticker": "<ticker>"
},
"name": "stoquant_explain_ml_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Top N features to return (default 10, max 50) | |
| ticker | Yes | ||
| horizon | No | 5 |