Skip to content

added block and myopic entropy as properties of the MSP tree#39

Open
adamimos wants to merge 1 commit intomainfrom
add-block-and-myopic-entropy
Open

added block and myopic entropy as properties of the MSP tree#39
adamimos wants to merge 1 commit intomainfrom
add-block-and-myopic-entropy

Conversation

@adamimos
Copy link
Copy Markdown
Owner

to do this also had to add path_probability data to each node in the tree

to do this also had to add path_probability data to each node in the tree
return [x.state_prob_vector for x in self.nodes]

@property
def block_entropy(self) -> Float[np.ndarray, "depth"]:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test plz

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants