MCPcopy Create free account

hub / github.com/derekgreene/topic-stability / types & classes

Types & classes20 in github.com/derekgreene/topic-stability

↓ 4 callersClassHungarianError
unsupervised/hungarian.py:19
↓ 3 callersClassHungarian
Implementation of the Hungarian (Munkres) Algorithm using np. Usage: hungarian = Hungarian(cost_matrix) hungarian.calculate(
unsupervised/hungarian.py:29
↓ 2 callersClassSphericalKMeans
Basic implementation of Spherical K-Means (SKM), backed by a generalized K-Means implementation that uses cosine distances. Term rankings are
unsupervised/skm.py:11
↓ 1 callersClassAverageJaccard
A top-weighted version of Jaccard, which takes into account rank positions. This is based on Fagin's Average Overlap Intersection Metric.
unsupervised/rankings.py:28
↓ 1 callersClassCoverZeros
Use minimum number of lines to cover all zeros in the matrix. Algorithm based on: http://weber.ucsd.edu/~vcrawfor/hungar.pdf
unsupervised/hungarian.py:260
↓ 1 callersClassEnsembleRanking
unsupervised/ensemble.py:42
↓ 1 callersClassReciprocalRankRelevance
Relevance function with inverse rank-weighted scores.
unsupervised/ensemble.py:15
↓ 1 callersClassSpectralSphericalKMeans
unsupervised/skm.py:49
ClassDiversityValidator
Validation measure that calculates the average pairwise dissimilarity between all unique pairs of term rankings in a given ranking set. The defa
unsupervised/validation.py:36
ClassJaccardBinary
Simple binary Jaccard-based ranking comparison, which does not take into account rank positions.
unsupervised/rankings.py:10
ClassLogRelevance
DCG-based rank relevance function, with inverse log-weighted scores.
unsupervised/ensemble.py:25
ClassMalletLDA
Wrapper class for Mallet. Requires that a binary version of Mallet 2.0 is available locally.
unsupervised/lda.py:7
ClassNimfaNMF
Wrapper class backed by the Nimfa package NMF implementation.
unsupervised/nmf.py:47
ClassPartitionValidator
A validator that evaluates topic (cluster) memberships based on an external set of ground truth classes. Note: we assume both the topic and class m
unsupervised/validation.py:62
ClassRankingSetAgreement
Calculates the agreement between pairs of ranking sets, using a specified measure of similarity between rankings.
unsupervised/rankings.py:44
ClassRelevanceFunction
Generic rank relevance function, with unit weights for all ranks.
unsupervised/ensemble.py:8
ClassScoreCollection
A utility class for keeping track of experiment scores produced by multiple validation measures applied to different topic models.
unsupervised/validation.py:104
ClassSklNMF
Wrapper class backed by the scikit-learn package NMF implementation.
unsupervised/nmf.py:8
ClassTermValidator
Validation measure, which compares the agreement between term rankings derived from the centroids produced using a 'ground truth' partition, with a
unsupervised/validation.py:8
ClassTopicEnsemble
unsupervised/ensemble.py:80