prepare
/prepare
Buduje przetwarzanie danych i cechy dla modeli: braki, skalowanie, kodowanie i wybór cech, bez wycieku danych.
- Autor
- Kiran-980 ↗
- Repozytorium
- 1ml ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 04.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 04.11.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
Buduje przetwarzanie danych i cechy dla modeli: braki, skalowanie, kodowanie i wybór cech, bez wycieku danych.
Oryginalny opis (EN)
Construct preprocessing and features for specified model candidates and prediction-time inputs. Use for missingness, scaling, encoding, resampling, feature selection, or pipeline compatibility; fit learned operations only within the declared evaluation boundaries.
Jak działa
- Load the branch that matters
- Build and check
- Completion and return
Podgląd SKILL.md
--- name: prepare description: Construct preprocessing and features for specified model candidates and prediction-time inputs. Use for missingness, scaling, encoding, resampling, feature selection, or pipeline compatibility; fit learned operations only within the declared evaluation boundaries. --- # Prepare candidate-compatible inputs Establish source semantics, prediction-time availability, candidate requirements, and the [evaluation](../evaluation/SKILL.md) design. Read relevant [state](../../references/project-state.md). If the user asks only about a transformation, answer or investigate that question without running the full lifecycle. For an explanation or design review without project artifacts, use the methodological references only. State and notebook protocols below apply when inspecting, creating, or updating project records; do not load them just to answer the question. ## Load the branch that matters | Condition | Reference | |---|---| | Missingness, imputation, and preprocessing before/after splitting | [Missing data and timing](references/missingness.md) | | Scaling versus normalization, categories/text, weights or resampling | [Representations](references/representations.md) | | Feature availability, selection, output validity, transformation order, or whole-sample exceptions | [Features and checks](references/features-checks.md) | | Target encoding/stacking/calibration/early stopping inside CV | [Inner validation](../evaluation/references/inner-validation.md) | ## Build and check Apply fixed semantic corrections consistently when justified by external definitions. Fit learned imputers, vocabularies, scalers, selectors, resamplers, and other data-dependent operations within each permitted training fold; transform validation/test with the fitted operation. Sampling occurs only on training data. Internal cross-fitting must honor the outer time/group design. Sharing a preprocessing specification across candidates does not permit fitting it before CV. For design-only requests, give a transformation specification rather than unverified API-shaped code. If implementing conditional row logic, preserve row alignment; `ColumnTransformer` selects columns, not population subsets. Compute missing indicators from the original missing mask, before imputation erases it. Choose representations jointly with candidates: native missing/categorical support may remove a transformation; distance-based imputation needs meaningful scales; sparse/dense conversions can exceed memory; log/power/nonnegative methods impose domain constraints. Missingness fraction or skew alone is not a prescription. Preserve structural not-applicable/unknown semantics rather than filling them with a frequent value by default. Create a reusable pipeline specification and test alignment, output schema/domain, unknown categories, allowed missing markers, expected failures, resource behavior, and inference parity. Unexpected infinity or NaN is a failure; intentional missing markers may be valid for the receiving estimator. Avoid target leakage from derived dates, global aggregates, target encoding, or features unavailable at decision time. Before fitting candidates, execute one fit/transform smoke check on the exact input schema the full pipeline will receive at inference. Distinguish raw rows from already-engineered matrices; feed each transformation once and keep required columns until their consuming step. A learned fill value belongs in `fit`; a fixed semantic value must be described as fixed. Missingness counts alone do not identify a mechanism or prove structural absence. ## Completion and return Record the chosen pipeline, rationale, feature provenance, fitting boundaries, and actual checks in the [notebook](../../references/notebook-protocol.md). A transformation is supported by the task and comparison evidence, not by a rule-table match alone. For full predictive work, explicitly decide whether additional feature construction is useful using the [feature-engineering decision path](references/features-checks.md#decide-whether-feature-engineering-is-needed). Show source columns, definitions or a justified no-change, availability, and the actual evidence for retaining each representation. Distinguish a proposed feature from an independently demonstrated improvement. Make the processing observable: show a bounded raw-to-processed example or feature-schema/shape summary, the learned-versus-fixed operations, and outcomes of applicable acceptance checks from [features and checks](references/features-checks.md). Reuse a permitted fitted transform or training-only smoke check; do not fit on final evaluation data to produce a demonstration. Pipeline code without observed output/handling checks is an implementation plan, not verified preparation. Send the specification to [train](../train/SKILL.md), which fits it inside its evaluation loop. Return source/availability defects to [data](../data/SKILL.md), and infeasible splits to evaluation. A new model candidate may require a new representation; retain comparable evaluation conditions. Refitting that changes scores must follow [final fitting](../train/references/final-fitting.md). Invalidate affected fits and metrics when features or transforms change.
Pliki w paczce (4)
- SKILL.md 5 KB
- references/features-checks.md 9 KB
- references/missingness.md 9 KB
- references/representations.md 6 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · Kiran-980/1ml | 95 | MIT |
| cenksimsek1988/cenk-jobs | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki dc50d81c2893 (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
- 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. - 90ml-feature-engineering
Przygotowuje cechy do modeli ML: kodowanie kategorii, skalowanie, cechy dat i tekstu, selekcję cech oraz featuretools i tsfresh. - 100feature-engineering
Pomaga tworzyć, kodować, skalować i wybierać cechy dla modeli ML: kodowanie kategorii, transformacje liczb, cechy z dat, tekstu i agregacji oraz kodowanie celu bez wycieku. - 90feature-engineering
Tworzy, wyodrębnia i wybiera cechy wejściowe modelu, od PCA i embeddingów po kodowanie dat, opóźnienia i selekcję cech. - 90ml-leakage-check
Przegląda preprocessing i potoki cech ML pod kątem wycieku celu, gdy metryki walidacyjne wyglądają podejrzanie dobrze lub transformery uczą się przed podziałem danych.