Skip to content

Unclear Algebra semantics in ExplicitFactor #2

Description

@minty-da

The constructor for ExplicitFactor suggests that it is a kind of VarTensor that is hard-coded to use RealAlgebra, but the fact that getLogUnormalizedScore directly returns array values suggests that they should be interpreted as log values (and hence implicitly use LogSemiring). Per @mgormley 's suggestion, it would make more sense for ExplicitFactor either to wrap an instance of VarTensor instead extending it or to extend some other multidimensional array class.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions