Skip to content

Add plotting functions#8

Open
Mayur1009 wants to merge 1 commit intocair:mainfrom
Mayur1009:visualize_clauses
Open

Add plotting functions#8
Mayur1009 wants to merge 1 commit intocair:mainfrom
Mayur1009:visualize_clauses

Conversation

@Mayur1009
Copy link
Copy Markdown
Contributor

Adding utils to visualize the hierarchical clauses more easily.

  • Added utility functions for plotting clauses. Creates a graph using networkx which can then be used for plotting.
  • Added get_ta_states function to get the clause states from the packed binary format.
  • Added map_ta_id_to_feature_id function to map each to the actual feature in the input data.
  • Added an example to visualize the clauses for the noisy parity data.
Figure_1

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.

1 participant