similarity-metrics

Crates.iosimilarity-metrics
lib.rssimilarity-metrics
version0.1.0
sourcesrc
created_at2022-12-11 15:43:45.916997
updated_at2022-12-11 15:43:45.916997
descriptionA collection of event logs similarity metrics for Rust
homepage
repositoryhttps://github.com/iharsuvorau/similarity-metrics
max_upload_size
id734389
size45,455
Ihar Suvorau (iharsuvorau)

documentation

README

similarity-metrics

Library to compute event logs similarity metrics.

Examples

use similarity_metrics::string_distances::damerau_levenshtein_on_logs;

let path_one = "filename_one.csv";
let path_two = "filename_two.csv";
let columns = &["concept:name", "org:resource", "start_timestamp", "time:timestamp"];

let (distance, similarity) = damerau_levenshtein_on_logs(path_one, path_two, columns);

Features

  • damerau_levenshtein - Compute the Damerau-Levenshtein distance between two event logs.
Commit count: 6

cargo fmt