Neuralogic

Latest version: v0.8.0

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

Scan your dependencies

Page 3 of 7

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

0.7.7

Additions:
- It is now possible to decode one-hot encoded features of edge attributes into a class-specific predicate (For Tensor Dataset)

0.7.6

Bug Fixes

- Fix CSV Dataset Terms Getter - CSV Dataset kept terms capitalized, resulting in changing their meaning from constants to variables.

0.7.5

Bug fixes

- Negation is now supported also for body literals referencing other rule's head
- Fixed serialization issues on some JVMs
- Fixed the direction of arrows in visualizations

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.