Skip to content

Encoding of discrete states #30

@bicycle1885

Description

@bicycle1885

There is a discrepancy of encodings of discrete states:

  • IndependentDiscreteDiffusion assumes the state x is encoded with one-hot encoding.
  • UnifromDiscreteDiffusion assumes the state x is encoded with integers from 1 to #{number of states}.

We should unify the encodings so that different diffusions can be used interchangeably.
I think encoding states with integers from 1 to #{number of states} would be better here because it is simpler and we can drop the dependency on OneHotArrays.jl, which makes the package more light.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions