eva === .. py:module:: topmost.eva .. toctree:: :titlesonly: :maxdepth: 1 build_hierarchy/index.rst classification/index.rst clustering/index.rst hierarchy_quality/index.rst topic_coherence/index.rst topic_diversity/index.rst Package Contents ---------------- .. autoapisummary:: topmost.eva._diversity topmost.eva.multiaspect_diversity topmost.eva.dynamic_diversity topmost.eva._clustering topmost.eva.hierarchical_clustering topmost.eva._cls topmost.eva.crosslingual_cls topmost.eva.hierarchical_cls topmost.eva._coherence topmost.eva.dynamic_coherence topmost.eva.hierarchy_quality .. py:function:: _diversity(top_words: List[str]) .. py:function:: multiaspect_diversity(top_words: List[str], _type='TD') .. py:function:: dynamic_diversity(top_words: List[str], train_bow: numpy.ndarray, train_times: List[int], vocab: List[str], verbose=False) .. py:function:: _clustering(theta, labels) .. py:function:: hierarchical_clustering(test_theta, test_labels) .. py:function:: _cls(train_theta, test_theta, train_labels, test_labels, classifier='SVM', gamma='scale') .. py:function:: crosslingual_cls(train_theta_en, train_theta_cn, test_theta_en, test_theta_cn, train_labels_en, train_labels_cn, test_labels_en, test_labels_cn, classifier='SVM', gamma='scale') .. py:function:: hierarchical_cls(train_theta, test_theta, train_labels, test_labels, classifier='SVM', gamma='scale') .. py:function:: _coherence(reference_corpus: List[str], vocab: List[str], top_words: List[str], coherence_type='c_v', topn=20) .. py:function:: dynamic_coherence(train_texts, train_times, vocab, top_words_list, coherence_type='c_v', verbose=False) .. py:function:: hierarchy_quality(vocab, reference_bow, topic_str_list, beta_list, phi_list)