Open tcsmaster opened 6 months ago
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.
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?