rank_target_correlations
Calculates and ranks correlations between a target column and all other numeric columns to identify top predictive features.
Instructions
Calculates and ranks the correlation between a single target column and all other numeric columns in the dataset at once. Use this tool when the user wants to rank, sort, or find top features related to a specific outcome column like diagnosis.
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": {
"data_file_path": "<data_file_path>",
"target_col": "<target_col>"
},
"name": "rank_target_correlations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | pearson | |
| target_col | Yes | ||
| data_file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |