Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-04-24 | 5.5 kB | |
v1.11.1 source code.tar.gz | 2025-04-24 | 8.6 MB | |
v1.11.1 source code.zip | 2025-04-24 | 8.9 MB | |
Totals: 3 Items | 17.5 MB | 2 |
Enhancements
Inductive Models and Datasets
- β΅πͺ Semi- and Fully-inductive Splits by @mberr in https://github.com/pykeen/pykeen/pull/1416
Representations
PyKEEN v1.11.1 introduces several new representations to support scenarios when you can bring your own featurization (such as chemical fingerprints in the cheminformatics domain)
- πͺ«π Generalize low-rank representation by @mberr in https://github.com/pykeen/pykeen/pull/1509
- π©βπ©βπ§βπ¦β½ Add Multi-backfill representation by @mberr in https://github.com/pykeen/pykeen/pull/1507
- β¨β¨ Add feature-enriched embedding and MLP-transformed representation by @cthoyt in https://github.com/pykeen/pykeen/pull/1511
- βπ Add embedding bag representation by @mberr in https://github.com/pykeen/pykeen/pull/1512
Loss Weights
PyKEEN v1.11.1 introduces loss weights, which influence how much a given triple is weighted in the loss function. They are primarily a tool to shape your optimization criterion, i.e., what you optimize your embedding models on. For example, you may want to focus more or less on certain types of triples because they are more or less important for your application. You can also use loss weights to counteract imbalances in relation frequencies, i.e., to down-weight frequent relation types.
More information at: https://pykeen.readthedocs.io/en/latest/reference/loss_weighting.html
- πβοΈ Expose pos_weight for BCEWithLogitsLoss by @mberr in https://github.com/pykeen/pykeen/pull/1525
- πΈπLoss weights by @mberr in https://github.com/pykeen/pykeen/pull/1529
- π¦π Training with sample weights by @mberr in https://github.com/pykeen/pykeen/pull/1532
- πΈβοΈ Basic loss weights by @mberr in https://github.com/pykeen/pykeen/pull/1534
Misc
- πΎπ Add custom error for
max_id
mismatch in representations by @cthoyt in https://github.com/pykeen/pykeen/pull/1508 - π’β
Check maximum in
base_ids
in BackfillRepresentation by @chartsNgraphs in https://github.com/pykeen/pykeen/pull/1499 - β©#οΈβ£ Forward max_id to adapted representations by @mberr in https://github.com/pykeen/pykeen/pull/1528
Removals
- ππ§Ή Remove functional interaction abstraction by @mberr in https://github.com/pykeen/pykeen/pull/1491
Fixes
- π§βπ§πͺ Fix inductive split by @mberr in https://github.com/pykeen/pykeen/pull/1516
- π§βπ§βοΈβπ₯ Fix dataset restrict by @mberr in https://github.com/pykeen/pykeen/pull/1495
- β±οΈπ§Ί Fix Caching Test by @mberr in https://github.com/pykeen/pykeen/pull/1497
- ππ Fix Slicing and Explicit Target Indices by @mberr in https://github.com/pykeen/pykeen/pull/1485
- π§Ήπ― Fix unused variables by @mberr in https://github.com/pykeen/pykeen/pull/1486
Documentation
- ππ Add a concrete example in "Using learned embeddings" tutorial by @Str1ien in https://github.com/pykeen/pykeen/pull/1518
- π΄ββ οΈβοΈ Update inductive NodePiece example by @mberr in https://github.com/pykeen/pykeen/pull/1503
- π€π Update resolvers and docs by @cthoyt in https://github.com/pykeen/pykeen/pull/1479
- π§βπ«π Update Tutorial on Representations by @mberr in https://github.com/pykeen/pykeen/pull/1478
- βοΈπ§βπ« Interaction Function Tutorial by @mberr in https://github.com/pykeen/pykeen/pull/1484
- ππ« Update backfill example by @mberr in https://github.com/pykeen/pykeen/pull/1493
- ππ Update tokenization section of representation tutorial by @mberr in https://github.com/pykeen/pykeen/pull/1515
Meta
- π€π GHA: Also run on pull_request_target by @mberr in https://github.com/pykeen/pykeen/pull/1522
- π§½β¨ Support torch 2.6 by @mberr in https://github.com/pykeen/pykeen/pull/1494
- π π§Ή Apply ruff v0.9.4 and limit torch <2.6 by @cthoyt in https://github.com/pykeen/pykeen/pull/1496
- π π Minor cleanup and quality-of-life improvements by @mberr in https://github.com/pykeen/pykeen/pull/1504
- π π Update minimum python version to 3.10 by @cthoyt in https://github.com/pykeen/pykeen/pull/1481
Testing
- Regression tests for loss functions by @mberr in https://github.com/pykeen/pykeen/pull/1530
-
οΈβ£β¬ Store regression targets with lower than machine precision by @mberr in https://github.com/pykeen/pykeen/pull/1531
Typing and Code Style
- β¨οΈβοΈ Update typing and project config by @cthoyt in https://github.com/pykeen/pykeen/pull/1535
- β¨οΈβοΈ Update numpy type checking by @cthoyt in https://github.com/pykeen/pykeen/pull/1537
- ππ§Ό Refactor typing in
repeat_if_necessary()
andModel._get_entity_len()
by @cthoyt in https://github.com/pykeen/pykeen/pull/1536 - Ruff and MyPy fixes by @cthoyt in https://github.com/pykeen/pykeen/pull/1526
- π¦©π«§ Fixes FunctionResolver type annotations by @cthoyt in https://github.com/pykeen/pykeen/pull/1540
- πͺ’πͺ Fix type annotations for entity/relation to ID mapping by @mberr in https://github.com/pykeen/pykeen/pull/1521
- π§Ήπ·οΈ Add Missing Model Types by @mberr in https://github.com/pykeen/pykeen/pull/1483
- π π§Ό Format docstrings by @cthoyt in https://github.com/pykeen/pykeen/pull/1502
New Contributors
- @chartsNgraphs made their first contribution in https://github.com/pykeen/pykeen/pull/1499
- @Str1ien made their first contribution in https://github.com/pykeen/pykeen/pull/1518
Full Changelog: https://github.com/pykeen/pykeen/compare/v1.11.0...v1.11.1