use-ml-label 0.0.1

Label and target metadata primitives for RustUse machine-learning workflows.
Documentation
  • Coverage
  • 1.35%
    1 out of 74 items documented1 out of 26 items with examples
  • Size
  • Source code size: 11.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.27 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-ml
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-ml-label

Label and target metadata primitives for RustUse machine-learning workflows.

Experimental

use-ml-label is experimental while use-ml remains below 0.3.0.

Example

use use_ml_label::{MlClassName, MlLabelName, MlTargetKind};

let label = MlLabelName::new("species")?;
let class = MlClassName::new("setosa")?;
let target: MlTargetKind = "multiclass-classification".parse()?;

assert_eq!(label.as_str(), "species");
assert_eq!(class.as_str(), "setosa");
assert_eq!(target, MlTargetKind::MulticlassClassification);
# Ok::<(), use_ml_label::MlLabelError>(())

Scope

  • Label names, class names, identifiers, and target-kind labels.
  • Annotation, source, quality, and cardinality metadata.
  • Primitive label metadata only.

Non-goals

  • Data labeling platforms or annotation workflow engines.
  • AI-response ratings, human preference labels, RLHF/RLAIF labels, or LLM judge labels.

License

Licensed under either Apache-2.0 or MIT.