-
Notifications
You must be signed in to change notification settings - Fork 68
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
Changes to control model sparsity and MTSS improvements #331
Open
mcloughlin2
wants to merge
34
commits into
1.7.0
Choose a base branch
from
sparsity
base: 1.7.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
…n layer weights for each feature as it evolves over epochs, to see effect of setting weight decay parameters; (2) Added model parameters xgb_alpha and xgb_lambda and corresponding hyperopt parameters xgba and xgbb to control strength of L1 and L2 regularization penalties.
…hing on weight_decay_penalty and weight_decay_penalty_type parameters. Completed implementation of hyperopt domain specification for xgb_alpha and xgb_lambda.
…penalty_type, xgb_alpha and xgb_lambda to set of model parameters displayed by the various compare_models functions.
… step(); changed order of operations so that grading happens at end of step() method rather than at beginning. Added serial_grade_population method for debugging. Simplified code to address some performance issues.
…eeing that it runs much faster than the multithreaded version. Added documentation.
…rity between test and training set scaffold structures. Fixed a bug where the splitter always returned the split from the last generation rather than the best-ever split. Added code to track the individual fitness function terms over generations so that they can be displayed in diagnostic plots.
…ore to the fitness_scores dictionary so that it can be plotted together with the component scores.
…specified number of generations. Replaced print() calls with log messages so we can control verbosity of output. Changed split() to use log_every_n argument to control frequency of messages during GA operation.
…nd XGBoost classification models now support class balancing weights when weight_transform_type parameter is set to 'balancing'.
…ght absolute sums vs epoch, to assess effect of weight decay penalty.
…n layer weights for each feature as it evolves over epochs, to see effect of setting weight decay parameters; (2) Added model parameters xgb_alpha and xgb_lambda and corresponding hyperopt parameters xgba and xgbb to control strength of L1 and L2 regularization penalties.
…hing on weight_decay_penalty and weight_decay_penalty_type parameters. Completed implementation of hyperopt domain specification for xgb_alpha and xgb_lambda.
…penalty_type, xgb_alpha and xgb_lambda to set of model parameters displayed by the various compare_models functions.
… step(); changed order of operations so that grading happens at end of step() method rather than at beginning. Added serial_grade_population method for debugging. Simplified code to address some performance issues.
…eeing that it runs much faster than the multithreaded version. Added documentation.
…nd XGBoost classification models now support class balancing weights when weight_transform_type parameter is set to 'balancing'.
…ght absolute sums vs epoch, to assess effect of weight decay penalty.
Hi, I have tested the following so far mainly by using various tutorial notebooks and running the functions through there. I will update this in a bit when I am finished trying out the rest of the features. Improvements to MultitaskScaffoldSplitter:
Comments:
New module split_diagnostic_plots:
Comments:
Sparsity-related parameters for XGBoost models:
New search domain parameters for hyperopt optimization of sparsity parameters:
Feature_importance
|
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.
Improvements to MultitaskScaffoldSplitter:
New module split_diagnostic_plots:
Sparsity-related parameters for XGBoost models:
New search domain parameters for hyperopt optimization of sparsity parameters:
Feature_importance function to draw line plot of summed NN absolute feature weights vs epoch.