Crates.io | similarity-metrics |
lib.rs | similarity-metrics |
version | 0.1.0 |
source | src |
created_at | 2022-12-11 15:43:45.916997 |
updated_at | 2022-12-11 15:43:45.916997 |
description | A collection of event logs similarity metrics for Rust |
homepage | |
repository | https://github.com/iharsuvorau/similarity-metrics |
max_upload_size | |
id | 734389 |
size | 45,455 |
Library to compute event logs similarity metrics.
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);
damerau_levenshtein
- Compute the Damerau-Levenshtein distance between two event logs.