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

Raise warning when self.classes is an empty list for voters. #398

Open
hhelm10 opened this issue Dec 16, 2020 · 3 comments
Open

Raise warning when self.classes is an empty list for voters. #398

hhelm10 opened this issue Dec 16, 2020 · 3 comments
Labels
ndd Neuro Data Design
Projects

Comments

@hhelm10
Copy link
Collaborator

hhelm10 commented Dec 16, 2020

Is your feature request related to a problem? Please describe.
When manually using voters I did not realize I had to give the set of classes and that otherwise is was using an empty list.

Describe the solution you'd like
Raise a warning when self.classes is empty and you try to make a prediction.

@levinwil
Copy link
Collaborator

@hhelm10 did you use LifelongClassification{Forest, Network} or the raw progressive learner class?

@hhelm10
Copy link
Collaborator Author

hhelm10 commented Dec 16, 2020

This was when using a TreeTransformer / TreeVoter directly. Probably an edge case, but adding a warning is pretty harmless.

@levinwil
Copy link
Collaborator

Gotcha. I just wanted to make sure it didn't show up when using LifelongClassification{Forest, Network}

@PSSF23 PSSF23 added this to simple (To Do) [Sprint 0] in ProgLearn Aug 24, 2021
@PSSF23 PSSF23 added the ndd Neuro Data Design label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ndd Neuro Data Design
Projects
ProgLearn
  
Simple (To Do) [Sprint 0]
Development

No branches or pull requests

3 participants