MCPcopy Create free account

hub / github.com/dfsj66011/text_cluster / types & classes

Types & classes981 in github.com/dfsj66011/text_cluster

↓ 2 callersClassData
默认加载的是新浪新闻数据集,对数据集进行数据清洗、分词、gram 化处理等, 以满足 LDA 算法的输入需求,数据处理示例如下: 原始数据: 马晓旭意外受伤让国奥警惕 无奈大雨格外青睐殷家军记者傅亚雨沈阳报道 来到沈阳,国奥队依然没有摆脱雨水的困扰。
load_datas.py:15
↓ 1 callersClassKMEANS
KMeans 文本聚类算法
kmeans.py:19
↓ 1 callersClassKMeans
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 callersClassLDA
lda.py:53
ClassACRF
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
ClassACRFEvaluator
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
ClassACRFExtractor
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
ClassACRFExtractorTrainer
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
InterfaceACRFTrainer
$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
ClassAGIS
data/mallet-2.0.8/src/cc/mallet/optimize/AGIS.java:23
ClassAStar
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
ClassAStarNode
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
InterfaceAStarState
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
ClassAbstractAssignmentIterator
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
ClassAbstractBeliefPropagation
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
ClassAbstractFactor
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
ClassAbstractInferencer
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
ClassAbstractMessageStrategy
data/mallet-2.0.8/src/cc/mallet/grmm/inference/AbstractBeliefPropagation.java:255
ClassAbstractMessageStrategy
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
ClassAbstractTableFactor
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
ClassAbstractTopicReports
data/mallet-2.0.8/src/cc/mallet/topics/AbstractTopicReports.java:5
ClassAccumulator
data/mallet-2.0.8/src/cc/mallet/util/CollectionUtils.java:94
ClassAccuracyCoverage
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
ClassAccuracyCoverageEvaluator
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
ClassAccuracyEvaluator
Accuracy of a clustering is (truePositive + trueNegative) / (numberPairwiseComparisons) @author culotta
data/mallet-2.0.8/src/cc/mallet/cluster/evaluate/AccuracyEvaluator.java:10
ClassAcrfExtractorTui
data/mallet-2.0.8/src/cc/mallet/grmm/learning/extract/AcrfExtractorTui.java:42
ClassAcrfSerialEvaluator
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
ClassAdaBoost
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
ClassAdaBoostM2
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
ClassAdaBoostM2Trainer
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
ClassAdaBoostTrainer
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
ClassAddClassifierTokenPredictions
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
InterfaceAddable
data/mallet-2.0.8/src/cc/mallet/util/Addable.java:17
ClassAgglomerativeNeighbor
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
ClassAllPairsIterator
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
ClassAlmostRandomTreeFactory
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
ClassAlphabet
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
InterfaceAlphabetCarrying
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
ClassAlphabetFactory
data/mallet-2.0.8/src/cc/mallet/types/AlphabetFactory.java:5
ClassArray2ArrayIterator
data/mallet-2.0.8/src/cc/mallet/pipe/tests/TestSGML2TokenSequence.java:53
ClassArray2ArrayIterator
data/mallet-2.0.8/src/cc/mallet/pipe/tests/TestInstancePipe.java:40
ClassArray2FeatureVector
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
ClassArrayDataAndTargetIterator
data/mallet-2.0.8/src/cc/mallet/pipe/iterator/ArrayDataAndTargetIterator.java:29
ClassArrayIterator
data/mallet-2.0.8/src/cc/mallet/pipe/iterator/ArrayIterator.java:24
ClassArrayListSequence
data/mallet-2.0.8/src/cc/mallet/types/ArrayListSequence.java:21
ClassArrayListUtils
data/mallet-2.0.8/src/cc/mallet/util/ArrayListUtils.java:19
ClassArraySequence
data/mallet-2.0.8/src/cc/mallet/types/ArraySequence.java:21
ClassArrayUtils
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
ClassAssignment
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
InterfaceAssignmentIterator
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
ClassAugmentableFeatureVector
data/mallet-2.0.8/src/cc/mallet/types/AugmentableFeatureVector.java:25
ClassAugmentableFeatureVectorAddConjunctions
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
ClassAugmentableFeatureVectorLogScale
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
ClassAverage
data/mallet-2.0.8/src/cc/mallet/cluster/neighbor_evaluator/MedoidEvaluator.java:280
ClassAverage
data/mallet-2.0.8/src/cc/mallet/cluster/neighbor_evaluator/PairwiseEvaluator.java:161
ClassBCubedEvaluator
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
ClassBIOTokenizationFilter
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
ClassBIOTokenizationFilterWithTokenIndices
data/mallet-2.0.8/src/cc/mallet/extract/BIOTokenizationFilterWithTokenIndices.java:7
ClassBPRegionGenerator
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
ClassBackTrackLineSearch
data/mallet-2.0.8/src/cc/mallet/optimize/BackTrackLineSearch.java:31
ClassBaggingClassifier
@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
ClassBaggingTrainer
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
ClassBalancedWinnow
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
ClassBalancedWinnowTrainer
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
ClassBase
data/mallet-2.0.8/src/cc/mallet/grmm/util/CachingOptimizable.java:23
InterfaceBaseRegionComputer
data/mallet-2.0.8/src/cc/mallet/grmm/inference/gbp/ClusterVariationalRegionGenerator.java:160
ClassBetaFactor
$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
ClassBiNormalSeparation
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
ClassBidirectionalIntObjectMap
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
ClassBigramTemplate
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
ClassBinaryTestData
data/mallet-2.0.8/src/cc/mallet/types/tests/TestBiNormalSeparation.java:31
ClassBinaryUnaryFactor
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
ClassBitVarSet
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
ClassBoltzmannPairFactor
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
ClassBoltzmannUnaryFactor
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
ClassBoolean
data/mallet-2.0.8/src/cc/mallet/util/CommandOption.java:401
InterfaceBoostable
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
ClassBranchingInstanceIterator
data/mallet-2.0.8/src/cc/mallet/pipe/BranchingPipe.java:91
ClassBranchingPipe
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
ClassBruteForceInferencer
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
ClassBshInterpreter
data/mallet-2.0.8/src/cc/mallet/util/BshInterpreter.java:15
ClassBulkLoader
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
InterfaceByActiveLearning
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
ClassByBatchGradient
data/mallet-2.0.8/src/cc/mallet/grmm/util/CachingOptimizable.java:142
InterfaceByBatchGradient
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:64
InterfaceByBatchGradient
data/mallet-2.0.8/src/cc/mallet/optimize/OptimizerEvaluator.java:30
InterfaceByBatches
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizer.java:28
InterfaceByCombiningBatchGradient
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:70
ClassByFactorRegionComputer
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
InterfaceByGISUpdate
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:58
ClassByGradient
data/mallet-2.0.8/src/cc/mallet/grmm/util/CachingOptimizable.java:84
InterfaceByGradient
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:36
InterfaceByGradient
data/mallet-2.0.8/src/cc/mallet/optimize/LineOptimizer.java:27
InterfaceByGradient
data/mallet-2.0.8/src/cc/mallet/optimize/OptimizerEvaluator.java:19
ClassByGradientValue
data/mallet-2.0.8/src/cc/mallet/optimize/OptimizableCollection.java:9
InterfaceByGradientValue
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:41
InterfaceByHessian
data/mallet-2.0.8/src/cc/mallet/optimize/Optimizable.java:47
ClassByIncrements
data/mallet-2.0.8/src/cc/mallet/fst/TransducerTrainer.java:57
InterfaceByIncrements
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
ClassByInstanceIncrements
data/mallet-2.0.8/src/cc/mallet/fst/TransducerTrainer.java:61
next →1–100 of 981, ranked by callers