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

[Question] About "Hierarchy as a parameter in constructor" #124

Open
tcsmaster opened this issue May 15, 2024 · 1 comment
Open

[Question] About "Hierarchy as a parameter in constructor" #124

tcsmaster opened this issue May 15, 2024 · 1 comment

Comments

@tcsmaster
Copy link

In the LocalClassifierPerParentNode file, there is a "TODO: Add parameter to receive hierarchy as parameter in constructor" line.
My question would be: how would the classifiers behave if there is a label that has no corresponding data, but is in the hierarchy?

@tcsmaster tcsmaster changed the title question about "Hierarchy as a parameter in constructor" [Question] About "Hierarchy as a parameter in constructor" May 16, 2024
@mirand863
Copy link
Collaborator

mirand863 commented Jun 3, 2024

Hi @tcsmaster,

This feature was available in one of the earliest releases of the library, but when I refactored I decided to remove it and never had the time to add it back. I would expect the training to fail if there is no data for a given local classifier or at least for it not to do anything during prediction since it has not been trained.

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

No branches or pull requests

2 participants