jeremylongshore/tons-of-skills-marketplace / plugins/ai-ml/feature-engineering-toolkit/skills/engineering-features-for-machine-learning
engineering-features-for-machine-learning
VerifiedExecute create, select, and transform features to improve machine learning model performance. Handles feature scaling, encoding, and importance analysis. Use when asked to "engineer features" or "select features". Trigger with relevant phrases based on skill purpose.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.1 KB |
| assets/README.md | markdown | 479 B |
| assets/configuration_template.yaml | config | 4.3 KB |
| assets/example_dataset.csv | other | 3.2 KB |
| assets/feature_engineering_template.py | script | 6.6 KB |
| references/README.md | markdown | 70 B |
| scripts/README.md | markdown | 807 B |
| scripts/feature_importance_analyzer.pyexecutable | script | 4.8 KB |
assets/configuration_template.yaml
View on GitHub# Configuration template for the feature engineering toolkit plugin
# This file allows you to customize the feature engineering pipeline.
# --- Data Input ---
data_input:
# Path to the input data file (CSV, Parquet, etc.)
# Supported formats: csv, parquet
data_path: "data/input.csv" # example-value: Path to your input data
# File type of the input data
file_type: "csv"
# Separator for CSV files (e.g., comma, tab)
csv_separator: ","
# Quote character for CSV files
csv_quotechar: '"'
# Encoding of the input file
encoding: "utf-8"
# Target variable name
target_variable: "target" # example-value: Name of your target variable
# Index column (optional)
index_column: null # Set to column name if you have an index column
# --- Feature Creation ---
feature_creation:
# Enable or disable automated feature creation
enabled: true
# List of feature creation techniques to apply
# Available techniques: polynomial_features, interaction_terms, aggregation_features, datetime_features
techniques:
- "polynomial_features"
- "interaction_terms"
- "datetime_features"
# Polynomial Features configuration
polynomial_features:
degree: 2
include_bias: false
# Interaction Terms configuration
interaction_terms:
interaction_degree: 2
# Aggregation Features configuration
aggregation_features:
# Group by column for aggregation (e.g., user_id, product_id)
group_by: "user_id" # example-value: Column to group by for aggregation
# Aggregation functions to apply (e.g., mean, sum, count)
aggregations:
- "mean"
- "sum"
# Datetime Features configuration
datetime_features:
# List of datetime columns to extract features from
datetime_columns:
- "date" # example-value: Name of your datetime column
# List of datetime features to extract (e.g., year, month, day, dayofweek)
features_to_extract:
- "year"
- "month"
- "dayofweek"
# --- Feature Selection ---
feature_selection:
# Enable or disable feature selection
enabled: true
# Selection method
# Available methods: variance_threshold, select_k_best, recursive_feature_elimination
method: "select_k_best"
# Variance Threshold configuration
variance_threshold:
threshold: 0.0
# Select K Best configuration
select_k_best:
k: 10 # example-value: Number of top features to select
score_func: "f_classif" # Or "f_regression"
# Recursive Feature Elimination configuration
recursive_feature_elimination:
n_features_to_select: 10
step: 1
# --- Feature Transformation ---
feature_transformation:
# Enable or disable feature transformation
enabled: true
# Transformation method
# Available methods: standard_scaler, min_max_scaler, robust_scaler, power_transformer, quantile_transformer
method: "standard_scaler"
# Standard Scaler configuration (no specific parameters)
standard_scaler: {}
# Min-Max Scaler configuration
min_max_scaler:
feature_range: [0, 1]
# Robust Scaler configuration
robust_scaler:
quantile_range: [25.0, 75.0]
# Power Transformer configuration
power_transformer:
method: "yeo-johnson"
standardize: true
# Quantile Transformer configuration
quantile_transformer:
n_quantiles: 100
output_distribution: "uniform"
# --- Output ---
output:
# Path to save the processed data
output_path: "data/processed.csv" # example-value: Path to save the processed data
# Save format for the output data
output_format: "csv"
# Save the feature engineering report
save_report: true
# Path to save the feature engineering report
report_path: "reports/feature_engineering_report.html"
# Save the trained model (if applicable, e.g., for feature importance selection)
save_model: false
# Path to save the trained model
model_path: "models/feature_selection_model.pkl"
# --- Advanced Options ---
advanced:
# Number of CPU cores to use for parallel processing
n_jobs: -1 # -1 means using all available cores
# Random seed for reproducibility
random_state: 42 # YOUR_VALUE_HERE: Set a random seed for reproducibility
# Verbosity level (0: silent, 1: info, 2: debug)
verbosity: 1
# Handle missing values (imputation)
handle_missing: true
# Imputation strategy (mean, median, most_frequent, constant)
imputation_strategy: "mean"
# Constant value for imputation (if imputation_strategy is "constant")
imputation_constant: 0Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |