% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/topic_modeling.R
\name{calculate_keyword_stability}
\alias{calculate_keyword_stability}
\title{Calculate Keyword Stability}
\usage{
calculate_keyword_stability(keywords1, keywords2)
}
\arguments{
\item{keywords1}{List of keyword vectors, one per topic, from the first model.}

\item{keywords2}{List of keyword vectors, one per topic, from the second model.}
}
\value{
Mean Jaccard similarity of matched topic pairs (0-1).
}
\description{
Calculates stability between the topic keyword sets of two independently
fitted models. Topic numbering is arbitrary across fits, so topics are
matched one-to-one by greedy assignment on the pairwise keyword Jaccard
matrix before averaging matched-pair similarity.
}
\concept{topic-modeling}
