-
Notifications
You must be signed in to change notification settings - Fork 1
HARRIS (Hybrid-decision trees) #137
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #137 +/- ##
==========================================
+ Coverage 80.63% 81.53% +0.89%
==========================================
Files 72 74 +2
Lines 4476 4732 +256
==========================================
+ Hits 3609 3858 +249
- Misses 867 874 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Pull request overview
This PR introduces two new algorithm selectors for the ASF framework: HARRIS (Hybrid Ranking and Regression Forests) and APPS (Automatic Parallel Portfolio Selector). These selectors represent different approaches to algorithm selection - HARRIS uses a hybrid loss function combining regression and ranking objectives in decision tree ensembles, while APPS constructs parallel portfolios based on probabilistic performance predictions.
Key Changes:
- Implementation of HARRIS selector using hybrid decision trees with configurable lambda parameter to balance regression (MSE) and ranking (Spearman correlation) objectives
- Implementation of APPS selector that predicts algorithm portfolios for parallel execution based on winning probability thresholds
- Comprehensive example scripts demonstrating both selectors with synthetic data and performance evaluation
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
asf/selectors/hybrid_decision_tree.py |
Core implementation of HARRIS selector and HybridDecisionTree class with hybrid loss function |
asf/selectors/parallel_portfolio_selector.py |
Implementation of APPS selector with uncertainty-aware portfolio selection |
asf/selectors/__init__.py |
Exports both new selectors (APPS and HARRIS) to the public API |
test/selectors/test_selectors.py |
Basic test coverage for HARRIS and comprehensive tests for APPS including threshold behavior |
examples/selection/18_harris_selector.py |
Demonstration of HARRIS with different lambda values and performance evaluation |
examples/selection/17_parallel_portfolio.py |
Demonstration of APPS with various p_intersection thresholds and portfolio size analysis |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.