All authors
wenmin-wu avatar

Claude Skills by wenmin-wu

github.com/wenmin-wu
535 skillsA× 5350 installs258 views
Successive Groupby AggregatesA

Build hierarchical features for transaction panels by aggregating twice — first groupby (entity, sub-key) to get a per-(entity, sub-key) summary, then groupby (entity) on those summaries to compute mean/min/max/std across the sub-keys, capturing the *distribution* of per-customer behavior rather than a single flat mean

databasespythongo
0
61
Svd Target ReconstructionA

Compresses high-dimensional targets with TruncatedSVD, trains on the reduced space, then reconstructs full predictions via the components matrix.

developmentpythonexpress
0
61
Synthetic Sample DetectionA

Detects synthetic/fake test samples by checking whether each row has at least one unique value across all features — real samples do, synthetic ones don't.

developmentpython
0
61
Tabnet Sklearn WrapperA

Wrap PyTorch TabNet in a scikit-learn BaseEstimator with built-in imputation and early stopping for use in VotingRegressor ensembles

datapythongo
0
61
Tabpfn Small Dataset EnsembleA

Ensembles TabPFN (a prior-fitted Bayesian transformer for small tabular data) with XGBoost, averaging probabilities for stronger predictions on datasets under 1000 rows.

businesspythongo
0
61
Tabular To Image CnnA

Reshapes tabular features into 2D pseudo-images via random feature permutation, enabling CNN-based feature interaction learning.

datapython
0
61
Temporal Session AggregationA

Builds user-level features by accumulating statistics across sequential event sessions before each assessment point.

datapython
0
61
Tfidf Svd Dense Text FeaturesA

Compress TF-IDF sparse text vectors into a handful of dense TruncatedSVD components so GBDTs can consume free-text fields as plain tabular columns

developmentpythongo
0
61
Tfidf Weighted Category CountsA

Convert per-group categorical event counts into TF-IDF-style features using log(1+tf/total) * log(N/df)

ai-agentspythongo
0
61
Threaded Parquet Describe FeaturesA

Parallel-load per-subject parquet time-series files with ThreadPoolExecutor and flatten describe() statistics into tabular feature vectors

datapythongo
0
61
Time Varying Reward ShapingA

Shape RL rewards with time-decaying asset weights and time-increasing resource weights so the agent transitions from expansion to accumulation as the game progresses

businesspythonapi
0
61
Toroidal Manhattan DistanceA

Compute shortest Manhattan distance on a toroidal (wrapping) grid by comparing normal vs wrap-around routes in each axis

developmentpythongo
0
61
Transductive Train Test TransformA

Fit unsupervised transforms (scaler, PCA, variance filter) on combined train+test data for more stable statistics, especially on small datasets

datapythongo
0
61
Transitive Match ClosureA

Post-processes entity match predictions to enforce symmetry (A→B implies B→A) and transitivity (A→B, B→C implies A→C) via graph closure.

developmentpython
0
61
Two Level Hierarchical AggregationA

Aggregates deeply nested relational tables through two groupby levels (child → intermediate → parent) to build features from multi-hop relationships.

documentationpythongo
0
61
Type Weighted Covisitation MatrixA

Build item co-visitation matrix from session pairs within a time window, weighting by interaction type (click/cart/order) via GPU self-join

developmentpythonapi
0
61
Typed Panel AggregationA

Aggregate panel/sequential data with type-appropriate statistics — numeric (mean/std/min/max/last) and categorical (count/last/nunique) — then concat into flat features

datapythongo
0
61
Vote Ensemble Outer JoinA

Ensemble ranked recommendation lists by outer-joining exploded candidates and re-ranking by weighted vote sum

developmentpython
0
61
Weather Ordinal EncodingA

Map free-text categorical descriptions to ordinal numeric scores via keyword matching — captures ordered severity in a single dense feature

developmentpythongo
0
61
Weighted Gini Top Recall MetricA

Custom ranking metric combining normalized weighted Gini coefficient with top-K% capture rate for imbalanced classification with class-weighted evaluation

datapythonexpress
0
61
Weighted Position Decay EnsembleA

Ensembles multiple ranked recommendation lists by scoring items as model_weight / position_rank, then re-ranking.

toolspython
0
61
Weighted Recall Multi Objective MetricA

Evaluate recommendation quality with recall@K per action type, combined via business-importance weights

documentationpythonperformance
0
61
Xgb Gpu Batch IteratorA

Use XGBoost DeviceQuantileDMatrix with a custom batch iterator to train on large datasets without exhausting GPU memory

datapythonexpress
0
61
Yearly Partitioned GroupbyA

Split a multi-year table into per-year partitions, run the same groupby aggregation on each, then concat and gc — a pure-pandas map-reduce that survives 100M+ rows on a 16GB kernel

datapython
0
61
Activity Threshold Lastval FallbackA

Override model predictions with last known value for low-activity or low-density entities where learned trends are unreliable

datapython
0
61
Availability Masked Regression LossA

Multiply per-timestep regression loss by a 0/1 availability mask so missing future steps contribute zero gradient

datapython
0
61
Bootstrapped Residual Prediction IntervalsA

Generate prediction intervals by repeatedly sampling from model residuals, adding to point forecasts, and taking quantiles across synthetic futures

datapython
0
61
Burst Rle DetectionA

Detect P-bursts (fast-typing runs) and R-bursts (consecutive revisions) via polars run-length encoding over boolean event conditions

developmentpythongo
0
61
Class Weighted Multiclass LoglossA

Custom multiclass log-loss that weights per-class contributions by class frequency and domain importance, usable as both training loss and eval metric

datapython
0
61
Cnn Transformer Multimodal FusionA

Process multiple sensor modalities through separate CNN branches then fuse via a transformer with CLS token for classification

developmentpython
0
61
Correlated Double SamplingA

Subtract paired reference frames from signal frames to cancel readout noise and common-mode bias

developmentpython
0
61
Density To Count RoundtripA

Convert a density metric back to integer counts using known population, round to nearest integer, then recompute density to exploit the discrete nature of the target

businesspythonapi
0
61
Detector Calibration PipelineA

Multi-step detector calibration pipeline — ADC inversion, hot/dead pixel masking, nonlinearity correction, dark subtraction, flat-field normalization

datapython
0
61
Dilated Conv Residual GruA

Combines dilated 1D convolutions for multi-scale receptive fields with residual bidirectional GRU layers for sequence classification.

developmentpython
0
61
Event Anchored Frame SyncA

Align low-Hz sensor data to high-fps video by anchoring a named event (e.g. ball_snap) to a known frame index and converting time offsets via fps

toolspython
0
61
Event Peak DetectionA

Detects discrete events (state transitions) from continuous predictions using local maxima with minimum-interval constraints.

datapython
0
61
Expanding Window StackingA

Walk-forward stacking ensemble that trains base models on expanding windows and a meta-learner on their out-of-fold predictions across time

datapythongo
0
61
Flux Snr Weighted FeaturesA

Engineer SNR-derived features from irregular time series — flux ratio squared, error-weighted mean flux, and normalized amplitude/range features

datapython
0
61
Gaussian Log Likelihood MetricA

Evaluate probabilistic forecasts using normalized Gaussian log-likelihood relative to naive and oracle baselines, scoring both mean accuracy and uncertainty calibration

datapython
0
61
Gradient Event Boundary DetectionA

Detect event start/end boundaries in time series by finding extrema of the first derivative (steepest gradient points)

developmentpythongo
0
61
Gradient Transit Phase DetectionA

Detect event ingress/egress boundaries by finding steepest gradient on each side of the signal minimum in a smoothed time series

developmentpythongo
0
61
Hierarchy Level Confidence CoefficientsA

Assign different uncertainty spread coefficients per aggregation level in hierarchical forecasts, reflecting that higher aggregation yields narrower intervals

developmentpythongo
0
61
Imu Gravity RemovalA

Remove gravity component from raw accelerometer data using quaternion rotation to yield linear acceleration

developmentpython
0
61
Inverse Variance Channel WeightingA

Weight multi-channel signals by inverse per-channel variance with percentile clipping, emphasizing low-noise channels in aggregation

documentationpython
0
61
K Mode Gaussian Nll LossA

Negative log-likelihood loss over K isotropic-Gaussian trajectory modes with per-mode confidences and logsumexp stability

datapythongo
0
61
Kaggle Api Streaming InferenceA

Predict day-by-day via Kaggle's iter_test API while maintaining a rolling history buffer for computing lag features online

businesspythongit
0
61
Keras Multi Quantile LossA

Single neural network outputting all quantiles simultaneously via pinball loss over a quantile vector for joint probabilistic forecasting

datapythonbackend
0
61
Keystroke Pause Bucket FeaturesA

Bucket inter-keystroke latencies into pause-duration ranges (0.5-1s, 1-1.5s, 1.5-2s, 2-3s, >3s) and count per session as hesitation features

businesspython
0
61
Learnable Fir FilterA

Initialize a depthwise Conv1d with FIR filter coefficients as a trainable high-pass/low-pass filter for sensor signal preprocessing

developmentpythongo
0
61
Locale Scoped Holiday FlagA

Build a single per-row "day off" boolean from a holidays table with National/Regional/Local locale hierarchy and Work Day overrides that flip make-up working weekends back to working days

datapython
0
61