-
Notifications
You must be signed in to change notification settings - Fork 2
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
adding semsim distribution plot analysis #188
base: main
Are you sure you want to change the base?
adding semsim distribution plot analysis #188
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I just had a few minor comments
semsim_score_distribution_plot(input, score_column, output) | ||
|
||
|
||
def filter_non_0_score(data: pl.DataFrame, col: str) -> pd.DataFrame: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you got tests for all these other semsim util functions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are implement on test_cli.py file.
But have to be improved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see that there is a test for the CLI command in test_cli.py
, what I meant is do you have tests for all the smaller methods that you are calling? Like the diff_semsim
method in semsim_utils.py
Fixes #187 and #180
Including semsim score distribution plots and improving the performance of data handling through the pandas to polars library replacement