Skip to content

fix visualization functions for the new node types - #22

Open
Mayur1009 wants to merge 1 commit into
cair:mainfrom
Mayur1009:fix-visualization-node-types
Open

fix visualization functions for the new node types#22
Mayur1009 wants to merge 1 commit into
cair:mainfrom
Mayur1009:fix-visualization-node-types

Conversation

@Mayur1009

Copy link
Copy Markdown
Contributor

Update the visualization function to work with the newly added node types.

  • tm.py: map_ta_id_to_feature_id didn't treat AND_ALTERNATIVES as feature-sharing (only OR_ALTERNATIVES was).
  • utils.py: active_path_graph returned class_sums[0] instead of class_sums[:, 0].
  • utils.py: node-type labels (used to be strings, now ints) restored via a node_type_labels dict param, with defaults and per-key overrides.

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