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

Add training/models of Zernike and AreaShape feature space only #44

Merged
merged 6 commits into from
Oct 23, 2023

Conversation

gwaybio
Copy link
Member

@gwaybio gwaybio commented Oct 19, 2023

I've added the following model training procedures:

  • AreaShape only
  • Zernike only
  • Class balanced models

I have also updated the evaluation procedures and added a summary visualization

all_model_f1_score_performance_barchart

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@gwaybio
Copy link
Member Author

gwaybio commented Oct 20, 2023

Merging this PR is required before I can update figure 3 (PR curves) to the balanced models.

@gwaybio gwaybio requested a review from MattsonCam October 20, 2023 21:41
Copy link
Member

@jenna-tomkinson jenna-tomkinson left a comment

Choose a reason for hiding this comment

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

LGTM! 👍 I thought the R code was super clean and easy to interpret. I left one suggestion for you to address.

Let me know if there are other PRs to review to ensure nothing is blocked.

"ignore", category=ConvergenceWarning, module="sklearn"
# train model on each combination of model type, feature type, and balance type
for balance in balanced_types:
if balance == "balanced":
Copy link
Member

Choose a reason for hiding this comment

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

I suggest adding a short code comment on why you are specifying the "balanced" model and setting the "unbalanced" model to None. I am assuming so that it doesn't run this model but I am not 100% sure.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sounds good! A short comment added in 7f2ca61

@gwaybio gwaybio merged commit 5dcaee0 into WayScience:main Oct 23, 2023
@gwaybio gwaybio deleted the train-subset-features branch October 23, 2023 14:53
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