{% if action == 'overview' %}
{% elif action == 'document' %}
{% elif action == 'topic-rel' %}
{% elif action == 'metadata' %}
Confidence
{% elif action == 'tdf-map' %}
{% for topic in range(model.k) %}
{% end %}
{% end %}
Basic Info
{{basic_info}}
Training Info
{{training_info}}
Initial Parameters
{% for i, (k, v) in enumerate(getattr(model, '_init_params', {}).items()) %}
{% if k in init_param_desc %}
{% else %}
{% end %}
{% end %}
Parameters
{{params_info}}
Topics
{{topics_info}}
{% if filtered_docs is None %}
{% elif action == 'topic' %}
All documents in the model ({{total_docs}})
{% else %}Filtered documents ({{filtered_docs}} / {{total_docs}})
{% end %}-
{% for doc in documents %}
- {% end %}
Top words in each topic
-
{% for topic in topics %}
-
{{get_topic_label(topic.topic_id, "Topic ")}} {% if not read_only %} {% end %}
{% for word, id, dist in topic.words %}
{{word}}
{% end %}
Word overlap between topics
{% for i in range(len(overlaps)) %} | {{i}} | {% end %}
---|---|
{{j}} | {% for i in range(len(overlaps)) %}{% end %} |
{% for n, (i, j) in enumerate(similar_pairs) %}
= len(overlaps) else ""}}">
{% end %}
{{get_topic_label(i, id_suffix=True)}} - {{get_topic_label(j, id_suffix=True)}}: {{overlaps[i, j]:.2%}} | |
---|---|
{{get_topic_label(i, prefix="Topic ", id_suffix=True)}}: {% for word, p in model.get_topic_words(i, top_n=10) %} {{word}}({{p:.2%}}) {% end %} | {{get_topic_label(j, prefix="Topic ", id_suffix=True)}}: {% for word, p in model.get_topic_words(j, top_n=10) %} {{word}}({{p:.2%}}) {% end %} |
{% for topic in range(cats.shape[2]) %}
{% end %}
{{get_topic_label(topic, prefix="Topic ", id_suffix=True)}}: {{", ".join(w for w, _ in model.get_topic_words(topic, 5))}}
Topic Distribution Function Map

{{get_topic_label(topic, prefix="Topic ", id_suffix=True)}}
}})