Neuralogic

Latest version: v0.7.13

Safety actively analyzes 622275 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

0.7.13

- Add parameter for setting the JAR path in initialize
- Fix setting window title when drawing in matplotlib
- Add constant and variable getters
- Add normalization and self_loops parameters to gcnconv
- Update NeuraLogic backend

**Full Changelog**: https://github.com/LukasZahradnik/PyNeuraLogic/compare/v0.7.12...v0.7.13

0.7.12

- Add parameter for setting the JAR path in initialize
- Fix setting window title when drawing in matplotlib
- Add constant and variable getters
- Add normalization and self_loops parameters to gcnconv
- Update NeuraLogic backend

**Full Changelog**: https://github.com/LukasZahradnik/PyNeuraLogic/compare/v0.7.11...v0.7.12

0.7.11

- Added `NeuralSample.get_atom` to rettrieve substitutions for variables and value of the atom

0.7.10

Additions:
- `neuralogic.initialize` now exposes more global settings
- Datasets now contains Samples, which are tuples of examples and queries
- New GINEConv module
- New GENConv module
- GCNConv now supports normalization

0.7.9

Changes
- Template is now subscriptable (allows set, delete, get by index)
- Default rule aggregation exposed via `Settings`
- `duplicate_groundings` are now present in `Metadata.__str__`
- Global setter for the graphviz path
- Split dataset building into two steps - groundings can now be rendered
- Alternative way to define rule bodies using `&` (e.g, `R.a <= R.b & R.c`)
- Calling `.draw()` now display the image (if `show=True` and no path has been provided)

0.7.8

Changes:
- The `Rule` can be imported from `neuralogic.core`
- The NeuraLogic backend has been updated
- Added `__repr__` methods for relations, metadata, rules, and templates
- Simplified accessing samples' target values (`sample.target`)
- Added a `model` parameter to the `template.draw` method to draw template with given weights

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.