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)
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 |