neuralogic.core.constructsο
Submodulesο
neuralogic.core.constructs.factoriesο
- class AtomFactory[source]ο
Bases:
object
- class Predicate(hidden=False, special=False)[source]ο
Bases:
object
- get(name: str) BaseRelation [source]ο
- get(name: str) BaseRelation [source]ο
neuralogic.core.constructs.functionο
- class Aggregation(name: str)[source]ο
Bases:
Function
- AVG: Aggregation = <neuralogic.core.constructs.function.function.Aggregation object>ο
- CONCAT: Aggregation = <neuralogic.core.constructs.function.concat.Concat object>ο
- COUNT: Aggregation = <neuralogic.core.constructs.function.function.Aggregation object>ο
- MAX: Aggregation = <neuralogic.core.constructs.function.function.Aggregation object>ο
- MIN: Aggregation = <neuralogic.core.constructs.function.function.Aggregation object>ο
- SOFTMAX: Aggregation = <neuralogic.core.constructs.function.softmax.Softmax object>ο
- SUM: Aggregation = <neuralogic.core.constructs.function.function.Aggregation object>ο
- name: strο
- class Combination(name: str)[source]ο
Bases:
Function
- AVG: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- CONCAT: Combination = <neuralogic.core.constructs.function.concat.ConcatComb object>ο
- COSSIM: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- COUNT: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- CROSSSUM: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- ELPRODUCT: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- MAX: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- MIN: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- PRODUCT: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- SOFTMAX: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- SPARSEMAX: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- SUM: Combination = <neuralogic.core.constructs.function.function.Combination object>ο
- name: strο
- class Transformation(name: str)[source]ο
Bases:
Function
- EXP: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- IDENTITY: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- INVERSE: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- LEAKY_RELU: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- LOG: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- LUKASIEWICZ: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- NORM: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- RELU: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- RESHAPE: Transformation = <neuralogic.core.constructs.function.reshape.Reshape object>ο
- REVERSE: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- SIGMOID: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- SIGNUM: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- SLICE: Transformation = <neuralogic.core.constructs.function.slice.Slice object>ο
- SOFTMAX: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- SPARSEMAX: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- SQRT: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- TANH: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- TRANSP: Transformation = <neuralogic.core.constructs.function.function.Transformation object>ο
- name: strο
neuralogic.core.constructs.java_objectsο
- class JavaFactory(settings: SettingsProxy | None = None)[source]ο
Bases:
object
neuralogic.core.constructs.metadataο
- class Metadata(learnable: bool = None, transformation: str | Transformation | Combination = None, combination: str | Combination = None, aggregation: str | Aggregation = None, duplicit_grounding: bool | None = None)[source]ο
Bases:
object
- aggregationο
- combinationο
- duplicit_groundingο
- learnableο
- transformationο
neuralogic.core.constructs.predicateο
neuralogic.core.constructs.relationο
- class BaseRelation(predicate: Predicate, terms=None, function: Transformation | Combination = None, negated: bool = False)[source]ο
Bases:
object
- property T: BaseRelationο
- attach_activation_function(function: Transformation | Combination)[source]ο
- functionο
- negatedο
- predicateο
- termsο
- class WeightedRelation(weight, predicate: Predicate, fixed=False, terms=None, function: Transformation | Combination = None)[source]ο
Bases:
BaseRelation
- property T: WeightedRelationο
- attach_activation_function(function: Transformation | Combination)[source]ο
- fixed() WeightedRelation [source]ο
- is_fixedο
- weightο
- weight_nameο