pattern_clustering.html.pattern_clustering_to_html
- pattern_clustering_to_html(lines: list, clusters: list) str[source]
Convert pattern_clustering results to HTML.
- Parameters
lines (list) – A list of string (e.g., the lines of text stored in a log file).
clusters (list) – A list containing where
clusters[i]identifies the cluster of thei-th line oflines(indexed from0).
- Returns
The HTML rendering of the clustering.