-
Notifications
You must be signed in to change notification settings - Fork 890
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
Update DeepFeatureSynthesis to support multiple paths #600
Conversation
For entitysets with multiple paths between two entities DFS will now create features through all paths. Entitysets with cycles in the directed graph are not supported. - Use feature.unique_name instead of hash in dicts - Change EntitySet.get_backward_entities to yield paths.
4e97867
to
42bc4bf
Compare
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## master #600 +/- ##
==========================================
- Coverage 97.27% 97.11% -0.16%
==========================================
Files 118 118
Lines 9589 9545 -44
==========================================
- Hits 9328 9270 -58
- Misses 261 275 +14
Continue to review full report at Codecov.
|
Previously was always doing a deep search.
- Add RelationshipPath.entities - Change EntitySet.get_forward_entities to yield entity_ids and paths.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good. Just one comment for now.
This was not exposed in the dfs method so it always used the default value of 2, it was undocumented, and it was unclear if it provided any value. Also remove EntitySet.find_path as it is no longer used.
This condition can never be True because it were True then the condition in _run_dfs would have been True and would have returned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor changes, otherwise I think this is good to go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
For entitysets with multiple paths between two entities DFS will now create features through all paths. Entitysets with cycles in the directed graph are not supported. - Use feature.unique_name instead of hash in dicts - Change EntitySet.get_backward_entities and get_forward_entities to yield paths. - Add RelationshipPath which represents a directed path through relationships. - Add RelationshipPath.entities - Warn if dfs produces a feature multiple times - Remove max_hlevel from DFS (alteryx#608). - Remove EntitySet.find_path
For entitysets with multiple paths between two entities DFS will now
create features through all paths. Entitysets with cycles in the
directed graph are not supported.
Once #572 is merged the base branch should be changed to master.