{% if action == 'overview' %}

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}}
{% elif action == 'document' %}
{% if filtered_docs is None %}

All documents in the model ({{total_docs}})

{% else %}

Filtered documents ({{filtered_docs}} / {{total_docs}})

{% end %}
Show only documents where the proportion of >= %
    {% for doc in documents %}
  • {% for i, v in enumerate(doc.topic_dist) %}
    {% end %}
  • {% end %}
{% if total_pages > 1 %} {% set args = f'&s={sort_key}&t={filter_target}&v={filter_value}' %}
{% end %}
{% elif action == 'topic' %}
    {% for topic in topics %}
  • Topic #{{topic.topic_id}}

    {% for word, dist in topic.words %} {% end %}
    {{word}}
    {{dist:.3%}}
  • {% end %}
{% end %}