drop_low_importance
Drop low-importance columns using variance or correlation thresholds to reduce dataset noise and focus on predictive features.
Instructions
Drop columns below a computed importance threshold. Methods: 'variance' (drop cols with variance <= threshold), 'correlation' (drop cols with abs correlation to target <= threshold). Destructive: actually drops columns. Use AFTER reviewing results from correlation_filter or variance_filter. Example: drop_low_importance(target_column="Revenue", method="correlation", threshold=0.05)
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": {
"target_column": "<target_column>"
},
"name": "drop_low_importance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | variance | |
| df_name | No | ||
| threshold | No | ||
| target_column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |