feature-engineering
/feature-engineering
Tworzy, wyodrębnia i wybiera cechy wejściowe modelu, od PCA i embeddingów po kodowanie dat, opóźnienia i selekcję cech.
- Autor
- Harrypatria ↗
- Repozytorium
- data-mining-ml ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 31.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 31.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Tworzy, wyodrębnia i wybiera cechy wejściowe modelu, od PCA i embeddingów po kodowanie dat, opóźnienia i selekcję cech.
Oryginalny opis (EN)
Feature Engineering. Create, extract and select model inputs - feature extraction (PCA, SVD, TF-IDF, embeddings, signal features), feature engineering (date parts, cyclical encoding, lags, rolling windows, ratios, interactions, binning, target encoding, frequency encoding, geospatial), feature selection (mutual information, RFE, L1, stability selection), feature dictionary and ablation. Use for feature creation, feature construction, encoding categoricals, dimensionality reduction for modeling, or improving a machine learning model's inputs.
Jak działa
- Two different ideas
- Rules
- Selection
- Ablation
- Output
Podgląd SKILL.md
--- name: feature-engineering description: Feature Engineering. Create, extract and select model inputs - feature extraction (PCA, SVD, TF-IDF, embeddings, signal features), feature engineering (date parts, cyclical encoding, lags, rolling windows, ratios, interactions, binning, target encoding, frequency encoding, geospatial), feature selection (mutual information, RFE, L1, stability selection), feature dictionary and ablation. Use for feature creation, feature construction, encoding categoricals, dimensionality reduction for modeling, or improving a machine learning model's inputs. --- # Feature Engineering ## Two different ideas - **Feature extraction** compresses raw or high-dimensional data into a compact representation (PCA, truncated SVD, NMF, TF-IDF, pretrained embeddings, FFT and rolling statistics). Always state what information is lost and how you inspected it: explained variance, reconstruction error, loadings. - **Feature engineering** builds informative inputs from domain knowledge (ratios, lags, cyclical time, group aggregates, flags). Every feature needs a rationale. ## Rules 1. Each engineered feature has a one-line rationale and passes the leakage question: *would this value exist at prediction time?* 2. Features are computed inside the pipeline (`ColumnTransformer`, `FunctionTransformer` with a named importable function, or a custom transformer in `src/<package>/transformers.py`) so training and serving share code. 3. Anything that learns from data (encoders, binning edges, selectors, PCA, target encoding) is fitted on training folds only. 4. Lags and rolling windows use only past data: `shift(k)` with k above zero, trailing windows, grouped by entity, computed per snapshot. 5. Target encoding is out-of-fold: `sklearn.preprocessing.TargetEncoder` (cross-fitted in `fit_transform`) inside the pipeline. 6. Record a feature dictionary: name, source, transform, type, rationale, availability time. `mlkit.features.feature_dictionary()` writes it. ## Selection | Family | Methods | Use when | |---|---|---| | Filter | variance threshold, mutual information, chi-squared, ANOVA F | Many features, quick screen | | Wrapper | RFE, sequential selection | Moderate p, model-specific | | Embedded | L1, elastic net, tree importance | Selection as part of fitting | | Stability | Selection frequency across bootstrap resamples | Small n, need trustworthy sets | Selection lives inside the pipeline and is evaluated with cross-validation. Remove leaky and near-duplicate features first. ## Ablation Report the CV metric with and without each feature group (raw, ratios, lags, encodings) with fold spread. Keep groups whose gain exceeds the fold-to-fold noise. ## Output - Pipeline code in `src/<package>/features.py`, imported by the notebook and the API. - `artifacts/feature_dictionary.csv`. - Ablation table under a findings heading. Recipes with code: `references/feature-recipes.md`.
Pliki w paczce (2)
- SKILL.md 3 KB
- references/feature-recipes.md 4 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · Harrypatria/data-mining-ml | 90 | MIT |
| angshenting/ds-spdd | 100 | MIT |
| SSameer20/data-analyst-toolkit | 100 | MIT |
| qa-aman/claude-skills | 100 | MIT |
| skforecast/skforecast-ai | 100 | Apache-2.0 |
| puckapi/claude-sports-analytics | 100 | MIT |
| param087/agent-ml-skills | 100 | MIT |
| Amey-Thakur/AI-SKILLS | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki c83c1fd3b83d (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90ml-feature-engineering
Przygotowuje cechy do modeli ML: kodowanie kategorii, skalowanie, cechy dat i tekstu, selekcję cech oraz featuretools i tsfresh. - 100engineering-features-for-machine-learning
Tworzy, wybiera i przekształca cechy dla modeli uczenia maszynowego, w tym skalowanie, kodowanie i analizę ważności cech. - 100engineering-features-for-machine-learning
Tworzy, wybiera i przekształca cechy dla modeli uczenia maszynowego, w tym skalowanie, kodowanie i analizę ważności cech. - 95ml4t-feature-selection
Wybiera informatywne cechy przez ranking IC, informację wzajemną lub RFE, zawsze w obrębie foldów walidacji krzyżowej, przy redukcji wymiarowości przed treningiem. - 90dimensionality-reduction
Redukuje liczbę cech danych metodami PCA, t-SNE lub UMAP, do wizualizacji albo inżynierii cech. - 100pca-dimensionality-reduction
Redukuje wymiarowość tabelarycznych danych liczbowych analizą PCA z parametrami z wiersza poleceń, automatycznym wyborem cech i eksportem wyników do CSV lub TXT.