check_valid_tags¶
- check_valid_tags(estimator, tags=None, error_on_missing=True)[source]¶
Check the validity of tags for an estimator.
- Parameters:
- estimatorestimator object or class
The estimator to check tags for.
- tagsdict
The tags to check. If None, all tags are checked.
- error_on_missingbool
If True, raise an error if a tag is missing.
- Raises:
- ValueError
If a tag is not valid for the estimator.