Skip to content
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

Drying it off #8

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Drying it off #8

merged 3 commits into from
Dec 13, 2023

Conversation

certara-mtalley
Copy link
Collaborator

Cleaned up a lot of repetitive functions, and placed the helper functions into a new utilities.R file.

Moved column selection steps to an internal function. Also moved data validation as well. Stored both functions in a new file called utlities.R
Added stop command into the data validation function, to be applied to all other functions.
Simplified the creation of dat_XGB and the xgb.mod dataframe. Both functions can be found in the utilities.R file.
Copy link
Collaborator

@certara-jcraig certara-jcraig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for creating additional utility functions and making code more DRY - approving @certara-mtalley

@certara-jcraig certara-jcraig merged commit 9254cfc into main Dec 13, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants