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

Fix a customized primitive: Categorizer #75

Closed
ChengFR opened this issue Feb 10, 2021 · 0 comments
Closed

Fix a customized primitive: Categorizer #75

ChengFR opened this issue Feb 10, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ChengFR
Copy link
Collaborator

ChengFR commented Feb 10, 2021

The benchmarking processes timely fail because the pipeline predict function returns out-of-category values. The reason is that the primitive cardea.primitive.processing.Categorizer assigning str type to the labels.

This issue is solved by modifying np.array(y).astype(str) to y in line 22.

@ChengFR ChengFR added the bug Something isn't working label Feb 10, 2021
@ChengFR ChengFR self-assigned this Feb 10, 2021
@ChengFR ChengFR changed the title Remove Categorizer from the customized pipelines Fix a customized primitive: Categorizer Feb 12, 2021
@ChengFR ChengFR mentioned this issue Feb 12, 2021
@ChengFR ChengFR closed this as completed Feb 13, 2021
@sarahmish sarahmish added this to the 0.1.2 milestone Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants