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 models with no-ic [training and LOIO] #51

Merged
merged 11 commits into from
Feb 3, 2024
Merged

Add models with no-ic [training and LOIO] #51

merged 11 commits into from
Feb 3, 2024

Conversation

gwaybio
Copy link
Member

@gwaybio gwaybio commented Jan 28, 2024

@roshankern can you review my contributions (the last two commits), and I will review your contributions (first two commits).

My plan is to get this merged in, address comments in #47, merge #47, and then start a new visualization with a clean repo.

I looked at the results briefly, and they don't seem to be changed much (i.e. IC doesn't seem to have a big impact in this case).

roshankern and others added 4 commits January 22, 2024 10:01
* update download module

* rename saved labeled data

* update split data module

* add new train models script

* update readmes

* update running model code

* update get x y function

* mike suggestions

* add new models
* update evaluate module

* update scripts

* add documentation

* documentation

* remove unecessary notebook

* Update 3.evaluate_model/README.md

Co-authored-by: Gregory Way <gregory.way@gmail.com>

* add comment

---------

Co-authored-by: Gregory Way <gregory.way@gmail.com>
@gwaybio gwaybio requested a review from roshankern January 28, 2024 21:03
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member Author

@gwaybio gwaybio left a comment

Choose a reason for hiding this comment

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

👍 on my end! LMK when you're able to review my last two commits. Thanks!


### Data Preview

The labeled dataset includes CellProfiler (CP) and DeepProfiler (DP) features as well as metadata (location, perturbation, etc) for cells from the original MitoCheck project.
The breakdown of cell counts by phenotypic class (as labeled manually by MitoCheck) is as follows:
The breakdown of cell counts by manually-assigned phenotypic class for the `ic` (illumination corrected) dataset is as follows:
Copy link
Member Author

Choose a reason for hiding this comment

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

why is it necessary to specify for the IC dataset? Isn't it the same for no-ic?

Copy link
Member

@roshankern roshankern Jan 29, 2024

Choose a reason for hiding this comment

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

I believe they differ (very slightly). Because illumination correction has a very small effect on segmentation, we get different cell locations and in some cases a different number of cells.

I was going to update this when I update the path that we download the no_ic data from in WayScience/mitocheck_data#37. See below for more explanation on this

Copy link
Member

@roshankern roshankern left a comment

Choose a reason for hiding this comment

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

Just one comment to address, then LGTM!

Your plan for merging/addressing comments sounds good. I would recommend waiting to merge this until after we merge WayScience/mitocheck_data#37 and integrate the new download link so we don't have an unclear download path on main.

@gwaybio
Copy link
Member Author

gwaybio commented Jan 29, 2024

I would recommend waiting to merge this until after we merge WayScience/mitocheck_data#37 and integrate the new download link so we don't have an unclear download path on main.

Sounds good, thanks @roshankern ! Please give me a 👍 when I can merge. (I will also fix your file name comment ASAP).

@roshankern
Copy link
Member

Sounds good, thanks @roshankern ! Please give me a 👍 when I can merge. (I will also fix your file name comment ASAP).

Will do!

@gwaybio
Copy link
Member Author

gwaybio commented Jan 30, 2024

#37 looks great @roshankern, I just reviewed. I think there is one small change to do.

I also addressed the file name fix you suggested above. Once you merge in #37 feel free to merge this one.

@roshankern roshankern merged commit 2b97350 into main Feb 3, 2024
@roshankern roshankern deleted the use-no-ic branch February 3, 2024 15:53
@gwaybio gwaybio mentioned this pull request Feb 3, 2024
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