Home › Code › make_weights_for_balanced_classes

make_weights_for_balanced_classes

Syntologyentry name in harvested code

Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record.

make_weights_for_balanced_classes appears in the code Syntology harvested for 23 papers, as 8 distinct code bodies found in 24 places (a place is one code body under one paper). Of the 23 papers, 23 with a sample that ran: 23 with a run with no instrument failure, 0 where every run was a failure of Syntology's instrument. 0 of the code bodies carry a behaviour fingerprint.

What this page is not. Routines are grouped here by the exact string of their function or class name. Nothing asserts that two samples named make_weights_for_balanced_classes do the same thing, share code, or are comparable; the name is a string, not an identity. Behaviour outputs (what a fingerprinted sample returned on the shared battery) are not in this export and are not shown here; get_code(code_sha256="…") returns this sample's fingerprint on the shared battery, with the battery's shuffled null and lift; not shown on this site (how to connect). "Ran" means executed on a synthesized fixture, not that the code is correct or reproduces a paper.

Samples Syntology

The 8 distinct code bodies named make_weights_for_balanced_classes: 8 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 3 honoured, 0 violated, 5 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. One tile per status, in the site's fixed vocabulary, each code body counted once:

3ran · honoured contract
0ran · violated contract
0ran · our draft was wrong
0ran; the contract check could not run
5ran
0unverified
0fingerprinted

Licence is a property of each copy, so it is counted per place: 6 of the 24 places are pointer only (Syntology does not serve that copy's text). This site shows no code text for any sample; every row below links to the file in its repository where the record names one.

“Ran” means the sample executed on a synthesized input; it does not mean the output is correct. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “the contract check could not run” (RAISES, DEP_MISSING or TIMEOUT; hover a row's label for which) are failures of Syntology's instrument, not of the code, and those samples did run. The ran count above is every status except unverified, the same rule as each paper page; “with no instrument failure” is honoured, violated and ran with no contract checked. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Papers

23 papers shown of 23, newest first; 24 places in the table. A paper with no recorded date is placed by the month its arXiv id encodes, shown in the Date column as YYYY-MM (from id). One row per place: a paper whose repository defines the name more than once appears more than once, and the same code body held for several papers appears once under each, with the same status. Titles and dates are the archive's archive 2025-07-28 for papers in the archive, and the graph's for 1 papers added by Syntology. Status and fingerprint are Syntology's record of each code body; licence is recorded for each place. The File cell ends with the code body's code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

PaperDateFileStatus SyntologyLicence
SWORDBENCH: Evaluating Orthogonality of Steering Image Representations added by Syntology 2026-05 (from id) Weixin-Liang/MetaShift/experiments/distribution_shift/misc.py 5f576ed342c48a0a ran · honoured contract MIT (permissive)
A Comprehensive Survey with Critical Analysis for Deepfake Speech Detection 2024-09 (from id) tamlhp/dfd_benchmark/pytorch_model/data_generate.py f011fb6c6bddc505 ran MIT (permissive)
Learn to Preserve and Diversify: Parameter-Efficient Group with Orthogonal Regularization for Domain Generalization 21 Jul 2024 JudgingH/PEGO/domainbed/lib/misc.py 955c4020424d8ac1 ran · honoured contract MIT (permissive)
OT-VP: Optimal Transport-guided Visual Prompting for Test-Time Adaptation 12 Jun 2024 zybeich/ot-vp/domainbed/lib/misc.py 3cb172d2f57f12cf ran · honoured contract MIT (permissive)
A Causal Inspired Early-Branching Structure for Domain Generalization 13 Mar 2024 liangchen527/causeb/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract no licence file found · pointer only
Leveraging Vision-Language Models for Improving Domain Generalization in Image Classification 12 Oct 2023 val-iisc/VL2V-ADiP/domainbed/lib/misc.py 955c4020424d8ac1 ran · honoured contract MIT (permissive)
Domain Generalization via Rationale Invariance 22 Aug 2023 liangchen527/ridg/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract no licence file found · pointer only
When More is Less: Incorporating Additional Datasets Can Hurt Performance By Introducing Spurious Correlations 8 Aug 2023 basedrhys/ood-generalization/clinicaldg/lib/misc.py 5f576ed342c48a0a ran · honoured contract no licence file found · pointer only
An Empirical Study of Pre-trained Model Selection for Out-of-Distribution Generalization and Calibration 17 Jul 2023 hiroki11x/timm_ood_calibration/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract Apache-2.0 (permissive)
Improving Explainability of Disentangled Representations using Multipath-Attribution Mappings 15 Jun 2023 iml-dkfz/m-pax_lib/src/datamodules/isic_datamodule.py c133dbaa8240dd1d ran Apache-2.0 (permissive)
Improving Explainability of Disentangled Representations using Multipath-Attribution Mappings 15 Jun 2023 iml-dkfz/m-pax_lib/src/datamodules/oct_datamodule.py 4a4666cfd3de39ba ran Apache-2.0 (permissive)
POEM: Polarization of Embeddings for Domain-Invariant Representations 22 May 2023 JoSangYoung/Official-POEM/POEM/domainbed/lib/misc.py 955c4020424d8ac1 ran · honoured contract MIT (permissive)
PGrad: Learning Principal Gradients For Domain Generalization 2 May 2023 qdata/pgrad/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract MIT (permissive)
Domain-aware Triplet loss in Domain Generalization 1 Mar 2023 workerbcd/dct/domainbed/lib/misc.py 86798fbb2fc042f5 ran MIT (permissive)
DART: Diversify-Aggregate-Repeat Training Improves Generalization of Neural Networks 28 Feb 2023 val-iisc/DART/domainbed/lib/misc.py 955c4020424d8ac1 ran · honoured contract MIT (permissive)
Prompt Vision Transformer for Domain Generalization 18 Aug 2022 zhengzangw/DoPrompt/domainbed/lib/misc.py 3cb172d2f57f12cf ran · honoured contract MIT (permissive)
Test-Time Adaptation via Self-Training with Nearest Neighbor Information 8 Jul 2022 mingukjang/tast/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract MIT recorded; this copy not marked cleared · pointer only
FedBR: Improving Federated Learning on Heterogeneous Data via Local Learning Bias Reduction 26 May 2022 lins-lab/fedbr/fedbr/lib/misc.py 5f576ed342c48a0a ran · honoured contract Apache-2.0 (permissive)
Diverse Weight Averaging for Out-of-Distribution Generalization 19 May 2022 alexrame/diwa/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract Apache-2.0 (permissive)
Domain Generalization by Mutual-Information Regularization with Pre-trained Models 21 Mar 2022 kakaobrain/miro/domainbed/lib/misc.py 955c4020424d8ac1 ran · honoured contract MIT (permissive)
Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains 25 Nov 2021 shogi880/DPLCLIP/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract MIT recorded; this copy not marked cleared · pointer only
SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization 4 Jun 2021 shahtalebi/SAND-mask/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract MIT recorded; this copy not marked cleared · pointer only
Invariant Risk Minimization 5 Jul 2019 katoro8989/irm_variants_calibration/domainbed/lib/misc.py 5f576ed342c48a0a ran · honoured contract Apache-2.0 (permissive)
Look Across Elapse: Disentangled Representation Learning and Photorealistic Cross-Age Face Synthesis for Age-Invariant Face Recognition 2 Sep 2018 ZhaoJ9014/High_Performance_Face_Recognition/src/ResNet/CASIA_WEB_FACE.PyTorch/utils.py c1f0ff9638b3e29f ran MIT (permissive)

This site shows no code text; each File cell links to the file on GitHub at the repository's current default branch, which may have changed since the harvest. "Pointer only" means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is under a permissive licence, but the stored copy of the same code that Syntology serves is not cleared for its text. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence cell for the reason. Per-sample records for a paper are on its paper page under "Code Syntology ran".

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections