use-ml-feature 0.0.1

Feature metadata primitives for RustUse machine-learning workflows.
Documentation
  • Coverage
  • 1.04%
    1 out of 96 items documented1 out of 24 items with examples
  • Size
  • Source code size: 13.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.29 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s 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-feature

Feature metadata primitives for RustUse machine-learning workflows.

Experimental

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

Example

use use_ml_feature::{MlFeatureKind, MlFeatureName, MlFeatureRole};

let name = MlFeatureName::new("sepal_width")?;
let kind: MlFeatureKind = "numeric".parse()?;

assert_eq!(name.as_str(), "sepal_width");
assert_eq!(kind, MlFeatureKind::Numeric);
assert_eq!(MlFeatureRole::Input.as_str(), "input");
# Ok::<(), use_ml_feature::MlFeatureError>(())

Scope

  • Feature names, identifiers, kinds, roles, and sources.
  • Transform, encoding, scaling, missing-value, and drift-status labels.
  • Lightweight validation for ASCII-safe feature names.

Non-goals

  • Performing feature engineering, transformations, or pipeline orchestration.
  • Prompt variables, message fields, context-window fields, or tool-call arguments.

License

Licensed under either Apache-2.0 or MIT.