related-sciences / nxontology-ml

Machine learning to classify ontology nodes
Apache License 2.0
6 stars 0 forks source link

Add allowed_labels to config and reject non-allowed labels #23

Closed yonromai closed 11 months ago

yonromai commented 11 months ago

Simple PR to add a set of allowed labels (allowed_labels) to the config. If provided, any label that doesn't belong to the set will be rejected.