Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EdgeSplitter: introduce a switch for keeping the reduced graph connected #285

Closed
6 tasks done
youph opened this issue Nov 9, 2018 · 1 comment
Closed
6 tasks done
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@youph
Copy link
Contributor

youph commented Nov 9, 2018

Description

Currently EdgeSplitter ensures that sampled positive edges are not from the graph's spanning tree, which is done to ensure that removing these edges does not increase the number of connected components in the reduced graph.

We should allow users to switch this behaviour on or off with a switch (e.g., keep_connected) passed to the train_test_split method.

Done Checklist (Development)

  • Produced code for required functionality
  • Branch and Pull Request build on CI
  • Branch and Pull Request pass unit tests on CI
  • Peer Code Review Performed
  • Code well commented
  • Documentation in repo
@youph youph added enhancement New feature or request ml labels Nov 9, 2018
@youph
Copy link
Contributor Author

youph commented Nov 9, 2018

This is also needed to simplify @lichaoir 's comparison with platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants