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

improve show of confusion matrix by finding optimal column width (cw) #923

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

Roeya
Copy link
Contributor

@Roeya Roeya commented Aug 14, 2023

it is calculated based on the maximal values and label width while ensuring the table header ("Ground Truth") has enough width and the first column (firstcw) has enough space for "Predicted" header.
The test where also updated.

it is claulcated based on the maximal values and lebel width
while ensuring the table header ("Gorubnd Truth") has enough width
and the first column (firstcw) has enough space for "Predicted" header
@ablaom
Copy link
Member

ablaom commented Aug 15, 2023

@Roeya This looks great. Appreciate the contribution!

Can you please make your PR on the default dev branch, instead of the master branch?

Alternatively, in view of #909, you could make a PR at StatisticalMeasures.jl. That'd be my preference, unless you want this in a hurry. Or we could do PR's here and at StatisticalMeasures.jl.

@Roeya
Copy link
Contributor Author

Roeya commented Aug 15, 2023

Ok - I'll PR the dev, I'll also PR StatisticalMeasures.jl later

@Roeya Roeya changed the base branch from master to dev August 15, 2023 14:28
Copy link
Member

@ablaom ablaom left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank yo @Roeya.

@ablaom ablaom merged commit f808e98 into JuliaAI:dev Aug 15, 2023
3 checks passed
@ablaom
Copy link
Member

ablaom commented Aug 15, 2023

I'm expecting another PR to be merged today/tomorrow, so will hold off tagging a new release until then.

This was referenced Aug 18, 2023
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