Skip to content

Conversation

singhtanishq
Copy link

This pull request refactors the FeatureExpander class in the following ways:

  • Modularizes noise addition to edges into the add_noise_to_edges method.
  • Modularizes edge removal into the remove_specified_edges method.
  • Modularizes node grouping by degree into the group_nodes_by_degree method.
  • Ensures all functionalities and the overall workflow of the original code are preserved.

These changes enhance the readability and maintainability of the code without altering its core functionality.

  • Adds support for grouped nodes by degree.
  • Cleans up feature calculation methods.

Please review the changes and provide feedback.

@yyou1996
Copy link
Collaborator

Thank you for your optimization. I will find time to take a look.

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