snorkelai.sdk.client.gts.delete_ground_truth_version
- snorkelai.sdk.client.gts.delete_ground_truth_version(node, gt_version_uid)
Delete a specified ground truth version for a node. This is a destructive operation, and it will not be possible to load this ground truth version once this operation is complete.
Examples
>>> sf.list_ground_truth_versions(node=1)
[{'gt_version_uid': 1, ... }]
>>> sf.delete_ground_truth_version(node=1, gt_version_uid=1)
>>> sf.list_ground_truth_versions(node=1)
[]