-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
[ENH] Cython axis-aligned multi-view splitter #129
Conversation
Signed-off-by: Adam Li <adam2392@gmail.com>
Possible code to sample different feature sets:
|
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
…into multiviewv2
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
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.
Mainly files to review:
- sktree/tree/_multiview.py
- sktree/tree/_oblique_splitter.pxd
- sktree/tree/_oblique_splitter.pyx
- examples/splitters/plot_multiview_axis_aligned_splitter.py
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
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.
Looks good to me! @adam2392 will there be another PR exposing a class for the multiview hypothesis test? Maybe in forestht.py
?
Signed-off-by: Adam Li <adam2392@gmail.com>
The design allows any arbitrary tree to be used in However, the next PR will show a more explicit example of multi-view learning on simulated data in |
I agree, I just think it would be easier for the user if the whole class was exposed the user. I imagine a class kind of like |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #129 +/- ##
==========================================
+ Coverage 88.78% 89.76% +0.98%
==========================================
Files 37 41 +4
Lines 3138 3351 +213
==========================================
+ Hits 2786 3008 +222
+ Misses 352 343 -9
☔ View full report in Codecov by Sentry. |
Sure yeah I agree it'll be easier if we can expose a sensible interface that makes semantic sense for users. We can play around w/ the best way to do this. |
Closes #92
Changes proposed in this pull request:
I foresee multi-view as a separate submodule for now since it's a rather experimental feature that is there to support MIGHT/Co-MIGHT in Cancer research.
Multiview splitting can analogously have its axis-aligned, oblique and morf versions imo. This initial PR implements the axis-aligned multi-view approach.
Note: what is not done is tracking constants, which is an important feature.
Before submitting
section of the
CONTRIBUTING
docs.Writing docstrings section of the
CONTRIBUTING
docs.After submitting