All authors
wenmin-wu avatar

Claude Skills by wenmin-wu

github.com/wenmin-wu
535 skillsA× 5350 installs258 views
Morphological Lung SegmentationA

Segment lung regions from CT using HU thresholding, connected-component labeling, and morphological opening

developmentpython
0
61
Multi Annotator Bbox ConsensusA

Merges overlapping same-class bounding boxes from multiple annotators into a consensus box using IoU-based matching and intersection.

documentationpython
0
61
Multi Efficientnet Shared InputA

Combine EfficientNetB0..B6 into one Keras model with a shared image input and one sigmoid head per backbone, training all N models in a single fit() call on TPU

devopspython
0
61
Multi Scale Patch Training PyramidA

Generate count-regression training patches at a geometric pyramid of image scales (0.9^k) so one CNN handles within- and between-image object-size variation without explicit anchors

datapython
0
61
Multi Series Channel StackingA

Stacks uniformly sampled slices from multiple MRI series (e.g., Sagittal T1, T2, Axial) into a single multi-channel tensor for one-pass inference.

toolspythongo
0
61
Multi Window Channel StackingA

Stack multiple CT window settings (brain, subdural, bone) as separate RGB channels for CNN input

toolspython
0
61
Multichannel To Rgb AdaptationA

Composites multi-channel imagery (microscopy, satellite) into 3-channel RGB for pretrained CNN backbones.

toolspython
0
61
Multilabel Auc EvaluationA

Computes per-class ROC-AUC then macro-averages for multi-label classification evaluation and model selection.

toolspythongit
0
61
Multilabel Cooccurrence Correlation EdaA

For multi-label classification, compute the per-class binary correlation matrix restricted to multi-label rows and the conditional class counts given a rare anchor class — reveals label groupings the model can exploit (shared classifier heads, hierarchical loss weighting, post-hoc consistency rules)

datapython
0
61
Multilabel Rare Class Image OversamplingA

Oversample multi-label images by giving each image a duplication multiplier equal to the max per-class multiplier among its labels, so every rare class gets repetition without exploding common-class counts — the standard fix for long-tail multi-label distributions where SMOTE / per-row oversampling doesn't apply

datapython
0
61
Multimodal Prediction UnionA

Combine match predictions from image embeddings, text similarity, and perceptual hash via set union for maximum recall

ai-agentspythonapi
0
61
Nested Unet Dense Skip ConnectionsA

UNet++ dense cross-depth skip connections that propagate deeper decoder features into all shallower decoder levels

toolspython
0
61
Numeric Categorical Auto DetectionA

Auto-detect whether a generated data series is numeric or categorical by measuring the fraction of digit characters in the concatenated values

developmentpythongo
0
61
Open Set Distance CutoffA

Assign an unknown/novel class when all nearest-neighbor distances exceed a tuned cutoff threshold for open-set recognition

ai-agentspython
0
61
Optimized Ordinal ThresholdsA

Uses Nelder-Mead optimization to find per-class decision thresholds that maximize Quadratic Weighted Kappa for regression-to-ordinal conversion.

testingpythongit
0
61
Ordinal Multilabel EncodingA

Encodes ordinal classes as cumulative binary labels (class N activates labels 0..N), enabling sigmoid + BCE training for ordinal regression.

testingpythongo
0
61
Pack Padded Sequence LossA

Uses pack_padded_sequence to exclude padding tokens from cross-entropy loss in variable-length sequence generation.

toolspython
0
61
Pairwise Distance Proximity FilterA

Compute Euclidean distance between entity pairs from tracking data and filter out pairs beyond a threshold to reduce inference candidates

datapython
0
61
Pairwise Tracking Feature MergeA

Double left-join on tracking data to create pairwise features (positions, velocities, distance) for both entities in an interaction pair

datapython
0
61
Patch Grid Count RegressionA

Tile a large aerial image into fixed-size patches, accumulate per-class point-annotation counts into a grid tensor aligned with the tiles, and train a small CNN to regress per-class object counts per patch under MSE

documentationpython
0
61
Patient Level Stratified KfoldA

Stratifies CV folds at the patient level rather than image level, preventing data leakage when multiple images exist per patient.

testingpython
0
61
Per Class Score ThresholdA

Apply class-specific confidence thresholds by inferring the dominant class per image and indexing into a per-class threshold array

documentationpython
0
61
Per Class Soft F1 Threshold FittingA

Optimize per-class decision thresholds for macro-F1 by replacing the non-differentiable hard threshold with a sigmoid-sharpened soft-F1 surrogate and fitting the per-class threshold vector via least-squares — averaged over multiple random validation splits to suppress overfitting on rare classes

datapython
0
61
Per Label Platt Isotonic CalibrationA

Fit a per-label probability calibrator on out-of-fold scores using Platt scaling (logistic regression on raw scores) and fall back to isotonic regression for labels where the logistic doesn't converge — pickle the dict of fitted calibrators and apply at inference for a small but free leaderboard lift on multi-label classification

testingpython
0
61
Per Modality Ensemble AveragingA

Train separate models per imaging modality (FLAIR/T1w/T1wCE/T2w) and average their predictions for final ensemble

code-qualitypython
0
61
Per Modality Separate ModelA

Trains one specialized model per imaging modality or series type, routing inputs by metadata at inference for modality-specific feature learning.

code-qualitypythongit
0
61
Per Organ Multihead Sigmoid SoftmaxA

Single CNN backbone with one shallow Dense neck per organ and mixed sigmoid (binary) + softmax (multi-class severity) heads, trained with a dict of losses so each organ is calibrated independently while sharing visual features

businesspythongo
0
61
Per Patient Slice Maxpool AggregationA

Aggregate per-slice CNN predictions into a single patient-level injury score by mean-pooling across TTA copies first, then max-pooling across slices — the worst-slice wins, which matches the medical reality that one bad slice is enough to grade the patient

datapython
0
61
Percentile Contrast StretchA

Normalize high-dynamic-range satellite or medical imagery to [0,1] using per-channel percentile clipping to suppress outliers while preserving relative contrast

datapython
0
61
Pfbeta Threshold OptimizationA

Grid-searches the optimal classification threshold to maximize probabilistic F-beta score on validation predictions.

testingpython
0
61
Phash Duplicate GroupingA

Group near-duplicate images by perceptual hash (pHash) as a zero-cost baseline signal for product or image matching

ai-agentspythonapi
0
61
Point Centered Fixed Patch CroppingA

Convert (x, y, class) point annotations into a CNN classification training set by cropping fixed-size square patches centered on each point, using a numpy shape check to silently reject border-clipped crops

documentationpythongo
0
61
Prediction Map Stitching AveragingA

Stitch overlapping tile predictions into a full-resolution output by accumulating probabilities and dividing by per-pixel overlap counts

toolspython
0
61
Progressive Dropout UnetA

Apply lower dropout in shallow/final U-Net layers and higher dropout in deep layers to preserve spatial detail while regularizing abstract features

toolspython
0
61
Quadratic Weighted Kappa CallbackA

Custom training callback that computes Quadratic Weighted Kappa on validation data each epoch and checkpoints the best model.

toolspython
0
61
Quantile Slice SamplingA

Samples a fixed number of slices from variable-length CT/MRI stacks using quantile indexing to produce consistent input depth.

toolspython
0
61
Quantile Threshold Prevalence MatchingA

Sets the binary classification threshold as a prediction quantile matching the expected positive prevalence rate, avoiding manual threshold tuning.

testingpython
0
61
Raft Optical Flow ExtractionA

Extract dense per-pixel motion fields between consecutive video frames using a pretrained RAFT model, producing an HxWx2 flow tensor that can be channel-stacked with RGB or used as a standalone motion feature for action / impact / event detection

toolspythonapi
0
61
Raster To Svg Polygon ConversionA

Converts a raster image to a size-bounded SVG via K-means color quantization, contour extraction, importance-ranked polygon assembly, and progressive simplification.

toolspythongo
0
61
Rgby 4channel Fluorescence LoaderA

Load fluorescence microscopy images stored as 4 separate single-channel PNGs (red microtubules, green target protein, blue nucleus, yellow ER) into a single HxWx4 tensor, preserving the biological semantics of each channel rather than collapsing to RGB

datapython
0
61
Rle Mask EncodingA

Encodes binary segmentation masks into compressed RLE format for efficient storage and submission.

toolspython
0
61
Rotation Search Point RegistrationA

Brute-force a 2D rotation angle over a coarse grid to align field-coordinate points with image-plane detections when the camera angle is unknown

toolspython
0
61
Rotation Tta SegmentationA

Test-time augmentation via 4 rotation angles (0/90/180/270), applying inverse rotation to each prediction before averaging

businesspythongit
0
61
Semi Supervised Pretrained BackboneA

Uses Facebook's semi-weakly supervised ImageNet-pretrained models (trained on 940M unlabeled images) as CNN backbones for stronger transfer learning than standard supervised pretraining.

developmentpython
0
61
Sentence Transformer Target EncodingA

Encode text prompts into fixed-length dense vectors using SentenceTransformer for cosine-similarity evaluation in image-to-text retrieval tasks

ai-agentspython
0
61
Separable Temporal Spectral CnnA

2D CNN with asymmetric kernels — temporal convolutions (Nx1) then spectral convolutions (1xM) — to decouple time and feature extraction

developmentpythongo
0
61
Separate Pos Neg Dice TrackingA

Track dice score separately for positive (mask-present) and negative (empty-mask) images to avoid division distortion

datapythongo
0
61
Siamese Pairwise Comparison HeadA

Siamese network head that compares two embeddings via element-wise multiply, add, abs-diff, and squared-diff features for verification tasks

testingpythonbackend
0
61
Sigmoid Normalized RmseA

Sigmoid-transformed normalized RMSE that maps error from [0,inf) to a bounded (0,1] similarity score using R2-score ratio

toolspython
0
61
Slice As Channel 2d CnnA

Resample a 3D medical volume to a fixed depth N (e.g. 32) and feed the N slices as input *channels* to a 2D CNN with `in_chans=N` instead of using a 3D conv backbone — gets the volumetric context for a fraction of the memory and lets you use any timm 2D pretrained model

toolspythongit
0
61