Skip to content

Conversation

@gwaybio
Copy link
Member

@gwaybio gwaybio commented Oct 19, 2023

subset_featurespace_multiclass_model_eval

@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 23, 2023

@jenna-tomkinson - the recent commits update the PR curves for the balanced model. Thanks!

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 had a few comments to address but mainly just questions for my understanding.

"shuffled" = "c",
"feature_type" = "c"
"feature_type" = "c",
"balance_type" = "c"
Copy link
Member

Choose a reason for hiding this comment

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

Based on the plots, I am assuming that the balance type is no longer included, so could this be removed from the code since we have shifted to class-balanced models?

Copy link
Member Author

@gwaybio gwaybio Oct 30, 2023

Choose a reason for hiding this comment

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

On this specific command, I am loading a dataset using readr. IMO, readr does even a better job than pandas at specifying data type, AKA dtype. This line that you are highlighting is reading in the column named "balance_type" (and other columns) as a character dtype.

It is true that we only use balanced models in this visualization, but in order to do so, we need to make sure the column is loaded properly (specifically, as a character), so that we can filter later.

@gwaybio
Copy link
Member Author

gwaybio commented Oct 30, 2023

Thanks for the review @jenna-tomkinson ! I will go ahead and merge now.

@gwaybio gwaybio merged commit 58f9597 into WayScience:main Oct 30, 2023
@gwaybio gwaybio deleted the visualize-subset-featurespaces branch October 30, 2023 18: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