Optimize hyperparameter search space and add Random Forest configuration to model pipeline#70
Open
midaa1 wants to merge 9 commits intoruxailab:mainfrom
Open
Optimize hyperparameter search space and add Random Forest configuration to model pipeline#70midaa1 wants to merge 9 commits intoruxailab:mainfrom
midaa1 wants to merge 9 commits intoruxailab:mainfrom
Conversation
Removed push trigger for main branch and unused steps.
Added push event trigger for CI workflow and included steps for Heroku CLI installation and deployment.
Removed push trigger and Heroku deployment steps from CI workflow.
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR refactors the hyperparameter configuration used by the regression model pipeline to improve stability, reduce search time, and fix missing support for Random Forest evaluation.
Key goals:
Add missing Random Forest hyperparameter grid.
Reduce computational overhead from overly broad search ranges.
Focus tuning on values that performed well in prior experiments.
Improve overall pipeline reliability and comparability.
Changes Made
1️⃣ Added Random Forest Regressor configuration
Result:
Pipeline no longer fails.
Random Forest now participates in evaluation and ranking.
2️⃣ Hyperparameter space optimization
Lasso Regression
Removed very small alphas.
Focused on stronger regularization values that previously performed better.
Ridge Regression
Reduced alpha search range.
Added intermediate values (e.g., 0.005) for finer tuning.
Elastic Net
Removed unstable edge values (0.0, extreme large values).
Focused on practical alpha and l1_ratio combinations.
SGD Regressor
Reduced parameter permutations.
Fixed max iterations for consistency.
Narrowed alpha and eta0 ranges.
Support Vector Regressor
3️⃣ Performance Improvements
Observed after modifications:
Random Forest successfully evaluated.
Significant reduction in search time for SGD and other models.
Better-performing parameter combinations discovered for SVR.
Full performance summary now includes all models.
Expanded higher C and gamma ranges around observed optimum.
Explanation of what has done :
This if the fix of #69