Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfsj66011/text_cluster
/ types & classes
Types & classes
981 in github.com/dfsj66011/text_cluster
⨍
Functions
7,087
◇
Types & classes
981
↓ 2 callers
Class
Data
默认加载的是新浪新闻数据集,对数据集进行数据清洗、分词、gram 化处理等, 以满足 LDA 算法的输入需求,数据处理示例如下: 原始数据: 马晓旭意外受伤让国奥警惕 无奈大雨格外青睐殷家军记者傅亚雨沈阳报道 来到沈阳,国奥队依然没有摆脱雨水的困扰。
load_datas.py:15
↓ 1 callers
Class
KMEANS
KMeans 文本聚类算法
kmeans.py:19
↓ 1 callers
Class
KMeans
KMeans Clusterer Clusters the points into k clusters by minimizing the total intra-cluster variance. It uses a given {@link Metric} to find the dista
data/mallet-2.0.8/src/cc/mallet/cluster/KMeans.java:46
↓ 1 callers
Class
LDA
lda.py:53
Class
ACRF
Class for Arbitrary CRFs. These are CRFs with completely arbitrary graphical structure. The user passes in a list of instances of ACRF.CliqueFacto
data/mallet-2.0.8/src/cc/mallet/grmm/learning/ACRF.java:45
Class
ACRFEvaluator
Created: Sun Jan 25 23:28:45 2004 @author <a href="mailto:casutton@cs.umass.edu">Charles Sutton</a> @version $Id: ACRFEvaluator.java,v 1.1 2007/10/22
data/mallet-2.0.8/src/cc/mallet/grmm/learning/ACRFEvaluator.java:26
Class
ACRFExtractor
Created: Mar 1, 2005 @author <A HREF="mailto:casutton@cs.umass.edu>casutton@cs.umass.edu</A> @version $Id: ACRFExtractor.java,v 1.1 2007/10/22 21:38:
data/mallet-2.0.8/src/cc/mallet/grmm/learning/extract/ACRFExtractor.java:24
Class
ACRFExtractorTrainer
Created: Mar 31, 2005 @author <A HREF="mailto:casutton@cs.umass.edu>casutton@cs.umass.edu</A> @version $Id: ACRFExtractorTrainer.java,v 1.1 2007/10/2
data/mallet-2.0.8/src/cc/mallet/grmm/learning/extract/ACRFExtractorTrainer.java:40
Interface
ACRFTrainer
$Id: ACRFTrainer.java,v 1.1 2007/10/22 21:37:43 mccallum Exp $
data/mallet-2.0.8/src/cc/mallet/grmm/learning/ACRFTrainer.java:9
Class
AGIS
data/mallet-2.0.8/src/cc/mallet/optimize/AGIS.java:23
Class
AStar
Created by IntelliJ IDEA. User: pereira Date: Jun 19, 2005 Time: 1:38:28 PM A search iterator over an underlying graph. The iterator returns search no
data/mallet-2.0.8/src/cc/mallet/util/search/AStar.java:22
Class
AStarNode
Created by IntelliJ IDEA. User: pereira Date: Jun 19, 2005 Time: 1:07:17 PM Search node in an A search.
data/mallet-2.0.8/src/cc/mallet/util/search/AStarNode.java:10
Interface
AStarState
Created by IntelliJ IDEA. User: pereira Date: Jun 20, 2005 Time: 5:16:05 PM Search state with heuristic cost-to-completion.
data/mallet-2.0.8/src/cc/mallet/util/search/AStarState.java:10
Class
AbstractAssignmentIterator
Created: Dec 15, 2005 @author <A HREF="mailto:casutton@cs.umass.edu>casutton@cs.umass.edu</A> @version $Id: AbstractAssignmentIterator.java,v 1.1 200
data/mallet-2.0.8/src/cc/mallet/grmm/types/AbstractAssignmentIterator.java:17
Class
AbstractBeliefPropagation
Abstract base class for umplementations of belief propagation for general factor graphs. This class manages arrays of messages, computing beliefs from
data/mallet-2.0.8/src/cc/mallet/grmm/inference/AbstractBeliefPropagation.java:25
Class
AbstractFactor
An Abstract class from which new Factor classes can be subclassed. Created: Sep 12, 2005 @author <A HREF="mailto:casutton@cs.umass.edu>casutton@cs.u
data/mallet-2.0.8/src/cc/mallet/grmm/types/AbstractFactor.java:23
Class
AbstractInferencer
Abstract base class for inferencers. This simply throws an UnsupportedOperationException for all methods, which is useful for subclasses that want
data/mallet-2.0.8/src/cc/mallet/grmm/inference/AbstractInferencer.java:25
Class
AbstractMessageStrategy
data/mallet-2.0.8/src/cc/mallet/grmm/inference/AbstractBeliefPropagation.java:255
Class
AbstractMessageStrategy
Created: May 29, 2005 @author <A HREF="mailto:casutton@cs.umass.edu>casutton@cs.umass.edu</A> @version $Id: AbstractMessageStrategy.java,v 1.1 2007/1
data/mallet-2.0.8/src/cc/mallet/grmm/inference/gbp/AbstractMessageStrategy.java:22
Class
AbstractTableFactor
Class for a multivariate multinomial distribution. <p/> Created: Mon Sep 15 17:19:24 2003 @author <a href="mailto:casutton@cs.umass.edu">Charles Sutt
data/mallet-2.0.8/src/cc/mallet/grmm/types/AbstractTableFactor.java:31
Class
AbstractTopicReports
data/mallet-2.0.8/src/cc/mallet/topics/AbstractTopicReports.java:5
Class
Accumulator
data/mallet-2.0.8/src/cc/mallet/util/CollectionUtils.java:94
Class
AccuracyCoverage
Methods for calculating and displaying the accuracy v. coverage data for a Trial
data/mallet-2.0.8/src/cc/mallet/classify/evaluate/AccuracyCoverage.java:38
Class
AccuracyCoverageEvaluator
Constructs Accuracy-coverage graph using confidence values to sort Fields. Created: Nov 8, 2005 @author <A HREF="mailto:culotta@cs.umass.edu>culotta
data/mallet-2.0.8/src/cc/mallet/extract/AccuracyCoverageEvaluator.java:29
Class
AccuracyEvaluator
Accuracy of a clustering is (truePositive + trueNegative) / (numberPairwiseComparisons) @author culotta
data/mallet-2.0.8/src/cc/mallet/cluster/evaluate/AccuracyEvaluator.java:10
Class
AcrfExtractorTui
data/mallet-2.0.8/src/cc/mallet/grmm/learning/extract/AcrfExtractorTui.java:42
Class
AcrfSerialEvaluator
Created: Aug 24, 2005 @author <A HREF="mailto:casutton@cs.umass.edu>casutton@cs.umass.edu</A> @version $Id: AcrfSerialEvaluator.java,v 1.1 2007/10/22
data/mallet-2.0.8/src/cc/mallet/grmm/learning/AcrfSerialEvaluator.java:23
Class
AdaBoost
AdaBoost Robert E. Schapire. "The boosting approach to machine learning: An overview." In MSRI Workshop on Nonlinear Estimation and Classificat
data/mallet-2.0.8/src/cc/mallet/classify/AdaBoost.java:25
Class
AdaBoostM2
AdaBoostM2 <p>Yoav Freund and Robert E. Schapire "Experiments with a New Boosting Algorithm" In Journal of Machine Learning: Proceedings of the 13th
data/mallet-2.0.8/src/cc/mallet/classify/AdaBoostM2.java:27
Class
AdaBoostM2Trainer
This version of AdaBoost can handle multi-class problems. For binary classification, can also use <tt>AdaBoostTrainer</tt>. <p>Yoav Freund and Rober
data/mallet-2.0.8/src/cc/mallet/classify/AdaBoostM2Trainer.java:29
Class
AdaBoostTrainer
This version of AdaBoost should be used only for binary classification. Use AdaBoost.M2 for multi-class problems. <p>Robert E. Schapire. "A decision-
data/mallet-2.0.8/src/cc/mallet/classify/AdaBoostTrainer.java:29
Class
AddClassifierTokenPredictions
This pipe uses a Classifier to label each token (i.e., using 0-th order Markov assumption), then adds the predictions as features to each token. This
data/mallet-2.0.8/src/cc/mallet/pipe/AddClassifierTokenPredictions.java:51
Interface
Addable
data/mallet-2.0.8/src/cc/mallet/util/Addable.java:17
Class
AgglomerativeNeighbor
A {@link Neighbor} created by merging two clusters of the original Clustering. @author "Aron Culotta" <culotta@degas.cs.umass.edu> @version 1.0 @sinc
data/mallet-2.0.8/src/cc/mallet/cluster/neighbor_evaluator/AgglomerativeNeighbor.java:14
Class
AllPairsIterator
Iterate over all pairs of Instances. @author "Aron Culotta" <culotta@degas.cs.umass.edu> @version 1.0 @since 1.0 @see NeighborIterator
data/mallet-2.0.8/src/cc/mallet/cluster/iterator/AllPairsIterator.java:17
Class
AlmostRandomTreeFactory
Always adds edges that have not been touched, after that adds random edges.
data/mallet-2.0.8/src/cc/mallet/grmm/inference/TRP.java:228
Class
Alphabet
A mapping between integers and objects where the mapping in each direction is efficient. Integers are assigned consecutively, starting at zero, as ob
data/mallet-2.0.8/src/cc/mallet/types/Alphabet.java:51
Interface
AlphabetCarrying
An interface for objects that contain one or more Alphabets. <p> The primary kind of type checking among MALLET objects such as Instances, InstanceLis
data/mallet-2.0.8/src/cc/mallet/types/AlphabetCarrying.java:7
Class
AlphabetFactory
data/mallet-2.0.8/src/cc/mallet/types/AlphabetFactory.java:5
Class
Array2ArrayIterator
data/mallet-2.0.8/src/cc/mallet/pipe/tests/TestSGML2TokenSequence.java:53
Class
Array2ArrayIterator
data/mallet-2.0.8/src/cc/mallet/pipe/tests/TestInstancePipe.java:40
Class
Array2FeatureVector
Converts a Java array of numerical types to a FeatureVector, where the Alphabet is the data array index wrapped in an Integer object. @author
data/mallet-2.0.8/src/cc/mallet/pipe/Array2FeatureVector.java:29
Class
ArrayDataAndTargetIterator
data/mallet-2.0.8/src/cc/mallet/pipe/iterator/ArrayDataAndTargetIterator.java:29
Class
ArrayIterator
data/mallet-2.0.8/src/cc/mallet/pipe/iterator/ArrayIterator.java:24
Class
ArrayListSequence
data/mallet-2.0.8/src/cc/mallet/types/ArrayListSequence.java:21
Class
ArrayListUtils
data/mallet-2.0.8/src/cc/mallet/util/ArrayListUtils.java:19
Class
ArraySequence
data/mallet-2.0.8/src/cc/mallet/types/ArraySequence.java:21
Class
ArrayUtils
Static utility methods for arrays (like java.util.Arrays, but more useful). @author <a href="mailto:casutton@cs.umass.edu">Charles Sutton</a> @vers
data/mallet-2.0.8/src/cc/mallet/util/ArrayUtils.java:22
Class
Assignment
An assignment to a bunch of variables. <p/> Note that outcomes are always integers. If you want them to be something else, then the Variables all hav
data/mallet-2.0.8/src/cc/mallet/grmm/types/Assignment.java:36
Interface
AssignmentIterator
Iterates over the assignments to a set of variables. This is never instantiated by user code; instead, use one of the many assignmentIterator() meth
data/mallet-2.0.8/src/cc/mallet/grmm/types/AssignmentIterator.java:24
Class
AugmentableFeatureVector
data/mallet-2.0.8/src/cc/mallet/types/AugmentableFeatureVector.java:25
Class
AugmentableFeatureVectorAddConjunctions
Add specified conjunctions to each instance. @author Andrew McCallum <a href="mailto:mccallum@cs.umass.edu">mccallum@cs.umass.edu</a>
data/mallet-2.0.8/src/cc/mallet/pipe/AugmentableFeatureVectorAddConjunctions.java:23
Class
AugmentableFeatureVectorLogScale
Given an AugmentableFeatureVector, set those values greater than or equal to 1 to log(value)+1. This is useful when multiple counts should not be
data/mallet-2.0.8/src/cc/mallet/pipe/AugmentableFeatureVectorLogScale.java:25
Class
Average
data/mallet-2.0.8/src/cc/mallet/cluster/neighbor_evaluator/MedoidEvaluator.java:280
Class
Average
data/mallet-2.0.8/src/cc/mallet/cluster/neighbor_evaluator/PairwiseEvaluator.java:161
Class
BCubedEvaluator
Evaluate a Clustering using the B-Cubed evaluation metric. See Bagga & Baldwin, "Algorithms for scoring coreference chains." Unlike other metrics, th
data/mallet-2.0.8/src/cc/mallet/cluster/evaluate/BCubedEvaluator.java:18
Class
BIOTokenizationFilter
Created: Nov 12, 2004 @author <A HREF="mailto:casutton@cs.umass.edu>casutton@cs.umass.edu</A> @version $Id: BIOTokenizationFilter.java,v 1.1 2007/10/
data/mallet-2.0.8/src/cc/mallet/extract/BIOTokenizationFilter.java:25
Class
BIOTokenizationFilterWithTokenIndices
data/mallet-2.0.8/src/cc/mallet/extract/BIOTokenizationFilterWithTokenIndices.java:7
Class
BPRegionGenerator
Created: May 30, 2005 @author <A HREF="mailto:casutton@cs.umass.edu>casutton@cs.umass.edu</A> @version $Id: BPRegionGenerator.java,v 1.1 2007/10/22 2
data/mallet-2.0.8/src/cc/mallet/grmm/inference/gbp/BPRegionGenerator.java:22
Class
BackTrackLineSearch
data/mallet-2.0.8/src/cc/mallet/optimize/BackTrackLineSearch.java:31
Class
BaggingClassifier
@author Andrew McCallum <a href="mailto:mccallum@cs.umass.edu">mccallum@cs.umass.edu</a>
data/mallet-2.0.8/src/cc/mallet/classify/BaggingClassifier.java:19
Class
BaggingTrainer
Bagging Trainer. @author Andrew McCallum <a href="mailto:mccallum@cs.umass.edu">mccallum@cs.umass.edu</a>
data/mallet-2.0.8/src/cc/mallet/classify/BaggingTrainer.java:21
Class
BalancedWinnow
Classification methods of BalancedWinnow algorithm. @see BalancedWinnowTrainer @author Gary Huang <a href="mailto:ghuang@cs.umass.edu">ghuang@cs.umas
data/mallet-2.0.8/src/cc/mallet/classify/BalancedWinnow.java:29
Class
BalancedWinnowTrainer
An implementation of the training methods of a BalancedWinnow on-line classifier. Given a labeled instance (x, y) the algorithm computes dot(x, wi), f
data/mallet-2.0.8/src/cc/mallet/classify/BalancedWinnowTrainer.java:44
Class
Base
data/mallet-2.0.8/src/cc/mallet/grmm/util/CachingOptimizable.java:23
Interface
BaseRegionComputer
data/mallet-2.0.8/src/cc/mallet/grmm/inference/gbp/ClusterVariationalRegionGenerator.java:160
Class
BetaFactor
$Id: BetaFactor.java,v 1.1 2007/10/22 21:37:44 mccallum Exp $
data/mallet-2.0.8/src/cc/mallet/grmm/types/BetaFactor.java:20
Class
BiNormalSeparation
Bi-Normal Separation is a feature weighting algorithm introduced in: An Extensive Empirical Study of Feature Selection Metrics for Text Classificatio
data/mallet-2.0.8/src/cc/mallet/types/BiNormalSeparation.java:26
Class
BidirectionalIntObjectMap
A mapping between integers and objects where the mapping in each direction is efficient. Integers are assigned consecutively, starting at zero, as ob
data/mallet-2.0.8/src/cc/mallet/grmm/types/BidirectionalIntObjectMap.java:24
Class
BigramTemplate
A template that adds edges between adjacent nodes in a label sequence for one factor.
data/mallet-2.0.8/src/cc/mallet/grmm/learning/ACRF.java:1813
Class
BinaryTestData
data/mallet-2.0.8/src/cc/mallet/types/tests/TestBiNormalSeparation.java:31
Class
BinaryUnaryFactor
A factor over a continuous variable theta and binary variables <tt>var</tt>. such that <tt>phi(x|theta)<tt> is Potts. That is, for fixed theta, <tt>
data/mallet-2.0.8/src/cc/mallet/grmm/types/BinaryUnaryFactor.java:17
Class
BitVarSet
A clique that uses very little time and memory based on the flyweight pattern. The owner supplies an Alphabet of vertices and a BitSet, and the cli
data/mallet-2.0.8/src/cc/mallet/grmm/types/BitVarSet.java:25
Class
BoltzmannPairFactor
A factor over a continuous variable theta and binary variables <tt>var</tt>. such that <tt>phi(x|theta)<tt> is Potts. That is, for fixed theta, <tt>
data/mallet-2.0.8/src/cc/mallet/grmm/types/BoltzmannPairFactor.java:17
Class
BoltzmannUnaryFactor
A factor over a continuous variable theta and binary variables <tt>var</tt>. such that <tt>phi(x|theta)<tt> is Potts. That is, for fixed theta, <tt>
data/mallet-2.0.8/src/cc/mallet/grmm/types/BoltzmannUnaryFactor.java:17
Class
Boolean
data/mallet-2.0.8/src/cc/mallet/util/CommandOption.java:401
Interface
Boostable
This interface is a tag indicating that the classifier attends to the InstanceList.getInstanceWeight() weights when training.
data/mallet-2.0.8/src/cc/mallet/classify/Boostable.java:20
Class
BranchingInstanceIterator
data/mallet-2.0.8/src/cc/mallet/pipe/BranchingPipe.java:91
Class
BranchingPipe
A Pipe that works like a rule list. Evaluate predicate() on each Pipe in the array; the first one that returns true, call that one ("the called Pipe"
data/mallet-2.0.8/src/cc/mallet/pipe/BranchingPipe.java:23
Class
BruteForceInferencer
Computes the joint of a GraphicalModel by brute-force calculation. This is exponentially slow, so it is mostly useful as a sanity check on more
data/mallet-2.0.8/src/cc/mallet/grmm/inference/BruteForceInferencer.java:30
Class
BshInterpreter
data/mallet-2.0.8/src/cc/mallet/util/BshInterpreter.java:15
Class
BulkLoader
This class reads through a single file, breaking each line into data and (optional) name and label fields.
data/mallet-2.0.8/src/cc/mallet/util/BulkLoader.java:15
Interface
ByActiveLearning
For active learning, in which this trainer will select certain instances and request that the Labeler instance label them. @param trainingAndUnlabeled
data/mallet-2.0.8/src/cc/mallet/classify/ClassifierTrainer.java:81
Class
ByBatchGradient
data/mallet-2.0.8/src/cc/mallet/grmm/util/CachingOptimizable.java:142
Interface
ByBatchGradient
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:64
Interface
ByBatchGradient
data/mallet-2.0.8/src/cc/mallet/optimize/OptimizerEvaluator.java:30
Interface
ByBatches
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizer.java:28
Interface
ByCombiningBatchGradient
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:70
Class
ByFactorRegionComputer
Region computer where each top-level region consists of a single factor node. If the model is pairwise, this is equivalent to using the Bethe free en
data/mallet-2.0.8/src/cc/mallet/grmm/inference/gbp/ClusterVariationalRegionGenerator.java:173
Interface
ByGISUpdate
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:58
Class
ByGradient
data/mallet-2.0.8/src/cc/mallet/grmm/util/CachingOptimizable.java:84
Interface
ByGradient
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:36
Interface
ByGradient
data/mallet-2.0.8/src/cc/mallet/optimize/LineOptimizer.java:27
Interface
ByGradient
data/mallet-2.0.8/src/cc/mallet/optimize/OptimizerEvaluator.java:19
Class
ByGradientValue
data/mallet-2.0.8/src/cc/mallet/optimize/OptimizableCollection.java:9
Interface
ByGradientValue
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:41
Interface
ByHessian
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:47
Class
ByIncrements
data/mallet-2.0.8/src/cc/mallet/fst/TransducerTrainer.java:57
Interface
ByIncrements
For various kinds of online learning by batches, where training instances are presented, consumed for learning immediately. The same instances may be
data/mallet-2.0.8/src/cc/mallet/classify/ClassifierTrainer.java:88
Class
ByInstanceIncrements
data/mallet-2.0.8/src/cc/mallet/fst/TransducerTrainer.java:61
next →
1–100 of 981, ranked by callers