brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
evaluationRoutes PyTorch Metric Learning questions about AccuracyCalculator, testers, and nearest-neighbor inference.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user wants to score an embedding space, compare query/reference splits, or perform nearest-neighbor lookup after training.
AccuracyCalculator and its metric family (precision_at_1, r_precision, mean_average_precision, mean_average_precision_at_r, mean_reciprocal_rank, NMI, AMI).GlobalEmbeddingSpaceTester, WithSameParentLabelTester, GlobalTwoStreamEmbeddingSpaceTester, and BaseTester.InferenceModel, MatchFinder, FaissKNN, FaissKMeans, CustomKNN.EmbeddingDataset.components.training.data unless the question is purely about evaluation input shape.references/evaluation-and-inference.md for the metric map, tester usage, and inference search patterns.scripts/smoke_evaluation.py when you want a tiny confirmation that AccuracyCalculator, a tester, and InferenceModel still work together.references/troubleshooting.md when the failure mentions faiss, k, custom label comparison, or an untrained index.components before finalizing the evaluation settings.training.data.AccuracyCalculator can include or exclude metrics, and k can be None, a positive integer, or "max_bin_count".ref_includes_query=True is the right choice when the query set is part of the reference set.GlobalEmbeddingSpaceTester is the usual default tester for embedding retrieval tasks.WithSameParentLabelTester expects hierarchical labels.GlobalTwoStreamEmbeddingSpaceTester expects datasets that yield (anchor, positive, label).InferenceModel defaults to a faiss-backed k-NN index if you do not override knn_func.references/evaluation-and-inference.md for the metric, tester, and inference reference.references/troubleshooting.md for faiss, k, and label-comparison failures.scripts/smoke_evaluation.py for a tiny evaluation and inference smoke check.