Skip to content

Test classifier predictions for doubly wrapped CategoricalValue - #28

Merged
ablaom merged 5 commits into
devfrom
test-classifier-predictions
Aug 4, 2025
Merged

ablaom merged 5 commits into
devfrom
test-classifier-predictions

Conversation

@ablaom

@ablaom ablaom commented Aug 4, 2025

Copy link
Copy Markdown
Member

CategoricalArrays.jl release 1.0 breaks the use of levels and unique. They now return categorical vectors, instead of plain unwrapped vectors. It's conceivable that some interfaces for classifiers that adopt the new version without realising this breaking change will predict vectors of CategoricalArray{<:CategoricalArray}. This PR adds a check to ensure this is not the case.

@ablaom
ablaom merged commit 6b61fde into dev Aug 4, 2025
3 checks passed
This was referenced Aug 4, 2025
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.

1 participant