executing-plans
executing-plans
Use 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
basic-metric-domainsUse TorchMetrics classification, regression, retrieval, clustering, nominal, and aggregation metrics with the right shapes and parameters.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about a standard tensor-based TorchMetrics family rather than a custom metric or a model-backed metric.
Accuracy, AUROC, F1Score, Precision, Recall, ConfusionMatrix, calibration, hinge, Jaccard, Matthews correlation, and task-specific Binary*, Multiclass*, and Multilabel* classes.MeanSquaredError, MeanAbsoluteError, R2Score, PearsonCorrCoef, SpearmanCorrCoef, KLDivergence, JensenShannonDivergence, ContinuousRankedProbabilityScore, and related scalar reduction metrics.RetrievalNormalizedDCG, RetrievalMAP, RetrievalPrecision, RetrievalRecall, RetrievalMRR, and friends.ClusterAccuracy and unsupervised clustering scores.CramersV, FleissKappa, PearsonsContingencyCoefficient, TheilsU, and TschuprowsT.MeanMetric, SumMetric, RunningMean, RunningSum, and related scalar accumulation helpers.../core-api/SKILL.md for Metric lifecycle, device placement, distributed synchronization, MetricCollection, or custom metric states.../vision-detection-metrics/SKILL.md for image, segmentation, detection, or panoptic metrics.../audio-text-metrics/SKILL.md for waveform metrics, ASR metrics, or no-download text metrics.../model-based-metrics/SKILL.md for BERTScore, CLIPScore, FID, or any metric that loads pretrained assets.../collections-wrappers-plotting/SKILL.md for collections, wrappers, trackers, and plotting.python scripts/basic_domain_metric_smoke.pypython -c "from torchmetrics.classification import Accuracy; print(Accuracy(task='multiclass', num_classes=3))"task=..., num_classes, num_labels, average, threshold, ignore_index, multidim_average -> classificationnum_outputs, multioutput, reduction -> regressionindexes, empty_target_action, top_k, aggregation -> retrievalClusterAccuracy, torch_linear_assignment -> clusteringnan_strategy, nan_replace_value, bias_correction, mode='counts' -> nominal