Uses of Class
cc.mallet.types.Instance
-
Packages that use Instance Package Description cc.mallet.classify Classes for training and classifying instances.cc.mallet.cluster.iterator cc.mallet.cluster.tui cc.mallet.cluster.util cc.mallet.extract Unimplemented.cc.mallet.extract.pipe cc.mallet.fst Transducers, including Conditional Random Fields (CRFs).cc.mallet.fst.confidence cc.mallet.fst.tests Tests for Transducers, including Conditional Random Fields (CRFs).cc.mallet.pipe Classes for processing arbitrary data into instances.cc.mallet.pipe.iterator Classes that generate instances from different kinds of input or data structures.cc.mallet.pipe.tests JUnit tests for pipes.cc.mallet.pipe.tsf TokenSequenceFeature Pipes.cc.mallet.regression cc.mallet.share.casutton.ner cc.mallet.share.mccallum.ner Named entity recognizer.cc.mallet.share.upenn Utilities that currently include a command line wrapper for the maxent classifier.cc.mallet.share.upenn.ner cc.mallet.share.weili.ner.enron cc.mallet.topics cc.mallet.types Fundamental MALLET types, including FeatureVector, Instance, Label etc.cc.mallet.util Miscellaneous utilities including command line processing, math functions, lexing, logging. -
-
Uses of Instance in cc.mallet.classify
Methods in cc.mallet.classify that return Instance Modifier and Type Method Description Instance
Classification. getInstance()
Instance
Classification. toInstance()
Methods in cc.mallet.classify with parameters of type Instance Modifier and Type Method Description Classification
AdaBoost. classify(Instance inst)
Classification
AdaBoost. classify(Instance inst, int numWeakClassifiersToUse)
Classify the given instance using only the first numWeakClassifiersToUse classifiers trained during boostingClassification
AdaBoostM2. classify(Instance inst)
Classification
AdaBoostM2. classify(Instance inst, int numWeakClassifiersToUse)
Classify the given instance using only the first numWeakClassifiersToUse classifiers trained during boostingClassification
BaggingClassifier. classify(Instance inst)
Classification
BalancedWinnow. classify(Instance instance)
Classifies an instance using BalancedWinnow's weightsClassification
C45. classify(Instance instance)
abstract Classification
Classifier. classify(Instance instance)
Classification[]
Classifier. classify(Instance[] instances)
Classification
ClassifierEnsemble. classify(Instance instance)
Classification
ConfidencePredictingClassifier. classify(Instance instance)
Classification
DecisionTree. classify(Instance instance)
Classification
MaxEnt. classify(Instance instance)
Classification
MCMaxEnt. classify(Instance instance)
Classification
MostFrequentClassifier. classify(Instance instance)
Classify an instance using the most frequent class label.Classification
NaiveBayes. classify(Instance instance)
Classify an instance using NaiveBayes according to the trained data.Classification
PRAuxClassifier. classify(Instance instance)
Classification
RandomClassifier. classify(Instance instance)
Classify an instance using random selection based on the trained data.Classification
RankMaxEnt. classify(Instance instance)
Classification
Winnow. classify(Instance instance)
Classifies an instance using Winnow's weightsvoid
PRAuxClassifier. getClassificationProbs(Instance instance, double[] scores)
void
MaxEnt. getClassificationScores(Instance instance, double[] scores)
void
MCMaxEnt. getClassificationScores(Instance instance, double[] scores)
void
PRAuxClassifier. getClassificationScores(Instance instance, double[] scores)
void
RankMaxEnt. getClassificationScores(Instance instance, double[] scores)
void
RankMaxEnt. getClassificationScoresForTies(Instance instance, double[] scores, int[] bestLabels)
Used by RankMaxEntTrainer to calculate the value when the labeling contains ties.void
MaxEnt. getClassificationScoresWithTemperature(Instance instance, double temperature, double[] scores)
void
MaxEnt. getUnnormalizedClassificationScores(Instance instance, double[] scores)
void
MCMaxEnt. getUnnormalizedClassificationScores(Instance instance, double[] scores)
void
RankMaxEnt. getUnnormalizedClassificationScores(Instance instance, double[] scores)
returns unnormalized scores, corresponding to the score an element of the InstanceList being the "top" instanceC
ClassifierTrainer.ByInstanceIncrements. trainIncremental(Instance instanceToAdd)
NaiveBayes
NaiveBayesTrainer. trainIncremental(Instance instance)
Constructors in cc.mallet.classify with parameters of type Instance Constructor Description Classification(Instance instance, Classifier classifier, Labeling labeling)
-
Uses of Instance in cc.mallet.cluster.iterator
Methods in cc.mallet.cluster.iterator that return Instance Modifier and Type Method Description Instance
AllPairsIterator. next()
Instance
ClusterSampleIterator. next()
Instance
NodeClusterSampleIterator. next()
Instance
PairSampleIterator. next()
-
Uses of Instance in cc.mallet.cluster.tui
Methods in cc.mallet.cluster.tui that return Instance Modifier and Type Method Description Instance
Clusterings2Clusterer.ClusteringPipe. pipe(Instance carrier)
Methods in cc.mallet.cluster.tui with parameters of type Instance Modifier and Type Method Description Instance
Clusterings2Clusterer.ClusteringPipe. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.cluster.util
Methods in cc.mallet.cluster.util with parameters of type Instance Modifier and Type Method Description static InstanceList
ClusterUtils. makeList(Instance i, Instance j)
-
Uses of Instance in cc.mallet.extract
Method parameters in cc.mallet.extract with type arguments of type Instance Modifier and Type Method Description Extraction
CRFExtractor. extract(java.util.Iterator<Instance> source)
Extraction
Extractor. extract(java.util.Iterator<Instance> source)
Performs extraction on a a set of raw documents.InstanceList
CRFExtractor. pipeInstances(java.util.Iterator<Instance> source)
-
Uses of Instance in cc.mallet.extract.pipe
Methods in cc.mallet.extract.pipe that return Instance Modifier and Type Method Description Instance
TokenSequence2Tokenization. pipe(Instance carrier)
Methods in cc.mallet.extract.pipe with parameters of type Instance Modifier and Type Method Description Instance
TokenSequence2Tokenization. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.fst
Methods in cc.mallet.fst that return Instance Modifier and Type Method Description Instance
Transducer. label(Instance instance)
Take input sequence from instance.data and put the output sequence in instance.target.Instance
SimpleTagger.SimpleTaggerSentence2FeatureVectorSequence. pipe(Instance carrier)
Instance
Transducer. transduce(Instance instance)
Take input sequence from instance.data and put the output sequence in instance.data.Methods in cc.mallet.fst with parameters of type Instance Modifier and Type Method Description Instance
Transducer. label(Instance instance)
Take input sequence from instance.data and put the output sequence in instance.target.Instance
SimpleTagger.SimpleTaggerSentence2FeatureVectorSequence. pipe(Instance carrier)
boolean
CRFTrainerByStochasticGradient. trainIncremental(Instance trainingInstance)
abstract boolean
TransducerTrainer.ByInstanceIncrements. trainIncremental(Instance trainingInstance)
double
CRFTrainerByStochasticGradient. trainIncrementalLikelihood(Instance trainingInstance)
Adjust the parameters by default learning rate according to the gradient of this single Instance, and return the true label sequence likelihood.double
CRFTrainerByStochasticGradient. trainIncrementalLikelihood(Instance trainingInstance, double rate)
Adjust the parameters by learning rate according to the gradient of this single Instance, and return the true label sequence likelihood.Instance
Transducer. transduce(Instance instance)
Take input sequence from instance.data and put the output sequence in instance.data. -
Uses of Instance in cc.mallet.fst.confidence
Methods in cc.mallet.fst.confidence that return Instance Modifier and Type Method Description Instance
InstanceWithConfidence. getInstance()
Instance
PipedInstanceWithConfidence. getInstance()
Instance
SequenceConfidenceInstance. getInstance()
Methods in cc.mallet.fst.confidence with parameters of type Instance Modifier and Type Method Description double
MaxEntSequenceConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of anInstance
.double
MinSegmentConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of aInstance
.double
NBestViterbiConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of aInstance
.double
QBCSequenceConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of aInstance
.double
RandomSequenceConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of anInstance
.double
SegmentProductConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of aInstance
.abstract double
TransducerSequenceConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of aSequence
.double
ViterbiConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of aInstance
.double
ViterbiRatioConfidenceEstimator. estimateConfidenceFor(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags)
Calculates the confidence in the tagging of anInstance
.Segment[]
TransducerConfidenceEstimator. rankSegmentsByConfidence(Instance instance, java.lang.Object[] startTags, java.lang.Object[] continueTags)
ranks the segments in oneInstance
Constructors in cc.mallet.fst.confidence with parameters of type Instance Constructor Description InstanceWithConfidence(Instance inst, double c, boolean correct)
InstanceWithConfidence(Instance inst, double c, Sequence predicted)
PipedInstanceWithConfidence(Instance inst, double c, boolean correct)
SequenceConfidenceInstance(Instance inst)
-
Uses of Instance in cc.mallet.fst.tests
Methods in cc.mallet.fst.tests that return Instance Modifier and Type Method Description Instance
TestCRF.TestCRF2String. pipe(Instance carrier)
Instance
TestCRF.TestCRFTokenSequenceRemoveSpaces. pipe(Instance carrier)
Instance
TestMEMM.TestMEMM2String. pipe(Instance carrier)
Instance
TestMEMM.TestMEMMTokenSequenceRemoveSpaces. pipe(Instance carrier)
Methods in cc.mallet.fst.tests with parameters of type Instance Modifier and Type Method Description Instance
TestCRF.TestCRF2String. pipe(Instance carrier)
Instance
TestCRF.TestCRFTokenSequenceRemoveSpaces. pipe(Instance carrier)
Instance
TestMEMM.TestMEMM2String. pipe(Instance carrier)
Instance
TestMEMM.TestMEMMTokenSequenceRemoveSpaces. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.pipe
Methods in cc.mallet.pipe that return Instance Modifier and Type Method Description Instance
Pipe. instanceFrom(Instance inst)
Instance[]
Pipe. instancesFrom(Instance inst)
Instance[]
Pipe. instancesFrom(java.util.Iterator<Instance> source)
A convenience method that will pull all instances from source through this pipe, and return the results as an array.Instance
AddClassifierTokenPredictions. pipe(Instance carrier)
Add the token classifier's predictions as features to the instance.Instance
Array2FeatureVector. pipe(Instance carrier)
Convert the data in anInstance
from an array to aFeatureVector
leaving other fields unchanged.Instance
AugmentableFeatureVectorAddConjunctions. pipe(Instance carrier)
Instance
AugmentableFeatureVectorLogScale. pipe(Instance carrier)
Instance
CharSequence2CharNGrams. pipe(Instance carrier)
Instance
CharSequence2TokenSequence. pipe(Instance carrier)
Instance
CharSequenceArray2TokenSequence. pipe(Instance carrier)
Instance
CharSequenceLowercase. pipe(Instance carrier)
Instance
CharSequenceNoDiacritics. pipe(Instance carrier)
Instance
CharSequenceRemoveHTML. pipe(Instance carrier)
Instance
CharSequenceRemoveUUEncodedBlocks. pipe(Instance carrier)
Instance
CharSequenceReplace. pipe(Instance carrier)
Instance
CharSequenceReplaceHtmlEntities. pipe(Instance carrier)
Instance
CharSubsequence. pipe(Instance carrier)
Instance
Classification2ConfidencePredictingFeatureVector. pipe(Instance carrier)
Instance
CountsToFeatureSequencePipe. pipe(Instance instance)
Instance
Csv2Array. pipe(Instance carrier)
Convert the data in anInstance
from a CharSequence of comma-separated-values to an array, where each index is the feature name.Instance
Csv2FeatureVector. pipe(Instance carrier)
Convert the data in the given Instance from a CharSequence of sparse feature-value pairs to a FeatureVectorInstance
Directory2FileIterator. pipe(Instance carrier)
Instance
FeatureCountPipe. pipe(Instance instance)
Instance
FeatureDocFreqPipe. pipe(Instance instance)
Instance
FeatureSequence2AugmentableFeatureVector. pipe(Instance carrier)
Instance
FeatureSequence2FeatureVector. pipe(Instance carrier)
Instance
FeatureSequenceConvolution. pipe(Instance carrier)
Instance
FeatureValueString2FeatureVector. pipe(Instance carrier)
Instance
FeatureVectorConjunctions. pipe(Instance carrier)
Instance
Filename2CharSequence. pipe(Instance carrier)
Instance
FixedVocabTokenizer. pipe(Instance instance)
Instance
Input2CharSequence. pipe(Instance carrier)
Instance
InstanceListTrimFeaturesByCount. pipe(Instance carrier)
Instance
LineGroupString2TokenSequence. pipe(Instance carrier)
Instance
MakeAmpersandXMLFriendly. pipe(Instance carrier)
Instance
NGramPreprocessor. pipe(Instance instance)
Instance
Noop. pipe(Instance carrier)
Instance
Pipe. pipe(Instance inst)
Really this should be 'protected', but isn't for historical reasons.Instance
PrintInput. pipe(Instance carrier)
Instance
PrintInputAndTarget. pipe(Instance carrier)
Instance
PrintTokenSequenceFeatures. pipe(Instance carrier)
Instance
SaveDataInSource. pipe(Instance carrier)
Instance
SelectiveSGML2TokenSequence. pipe(Instance carrier)
Instance
SGML2TokenSequence. pipe(Instance carrier)
Instance
SimpleTaggerSentence2StringTokenization. pipe(Instance carrier)
Takes an instance with data of type String or String[][] and creates an Instance of type StringTokenization.Instance
SimpleTaggerSentence2TokenSequence. pipe(Instance carrier)
Takes an instance with data of type String or String[][] and creates an Instance of type TokenSequence.Instance
SimpleTokenizer. pipe(Instance instance)
Instance
SourceLocation2TokenSequence. pipe(Instance carrier)
Instance
StringAddNewLineDelimiter. pipe(Instance carrier)
Instance
StringList2FeatureSequence. pipe(Instance carrier)
Instance
SvmLight2FeatureVectorAndLabel. pipe(Instance carrier)
Instance
Target2Double. pipe(Instance carrier)
Instance
Target2FeatureSequence. pipe(Instance carrier)
Instance
Target2Integer. pipe(Instance carrier)
Instance
Target2Label. pipe(Instance carrier)
Instance
Target2LabelSequence. pipe(Instance carrier)
Instance
TargetRememberLastLabel. pipe(Instance carrier)
Instance
TargetStringToFeatures. pipe(Instance carrier)
Instance
Token2FeatureVector. pipe(Instance carrier)
Instance
TokenSequence2FeatureSequence. pipe(Instance carrier)
Instance
TokenSequence2FeatureSequenceWithBigrams. pipe(Instance carrier)
Instance
TokenSequence2FeatureVectorSequence. pipe(Instance carrier)
Instance
TokenSequence2PorterStems. pipe(Instance carrier)
Instance
TokenSequenceLowercase. pipe(Instance carrier)
Instance
TokenSequenceMatchDataAndTarget. pipe(Instance carrier)
Instance
TokenSequenceNGrams. pipe(Instance carrier)
Instance
TokenSequenceParseFeatureString. pipe(Instance carrier)
Instance
TokenSequenceRemoveNonAlpha. pipe(Instance carrier)
Instance
TokenSequenceRemoveStopPatterns. pipe(Instance carrier)
Instance
TokenSequenceRemoveStopwords. pipe(Instance carrier)
Instance
ValueString2FeatureVector. pipe(Instance carrier)
Methods in cc.mallet.pipe that return types with arguments of type Instance Modifier and Type Method Description java.util.Iterator<Instance>
BranchingPipe. newIteratorFrom(java.util.Iterator<Instance> source)
Deprecated.java.util.Iterator<Instance>
FeatureVectorSequence2FeatureVectors. newIteratorFrom(java.util.Iterator<Instance> inputIterator)
java.util.Iterator<Instance>
FilterEmptyFeatureVectors. newIteratorFrom(java.util.Iterator<Instance> source)
java.util.Iterator<Instance>
Pipe. newIteratorFrom(java.util.Iterator<Instance> source)
Given an InstanceIterator, return a new InstanceIterator whose instances have also been processed by this pipe.java.util.Iterator<Instance>
SerialPipes. newIteratorFrom(java.util.Iterator<Instance> source)
Methods in cc.mallet.pipe with parameters of type Instance Modifier and Type Method Description Classification
AddClassifierTokenPredictions.TokenClassifiers. classify(Instance instance)
Classification
AddClassifierTokenPredictions.TokenClassifiers. classify(Instance instance, boolean useOutOfFold)
static InstanceList
AddClassifierTokenPredictions. convert(Instance inst, Noop alphabetsPipe)
Instance
Pipe. instanceFrom(Instance inst)
Instance[]
Pipe. instancesFrom(Instance inst)
Instance
AddClassifierTokenPredictions. pipe(Instance carrier)
Add the token classifier's predictions as features to the instance.Instance
Array2FeatureVector. pipe(Instance carrier)
Convert the data in anInstance
from an array to aFeatureVector
leaving other fields unchanged.Instance
AugmentableFeatureVectorAddConjunctions. pipe(Instance carrier)
Instance
AugmentableFeatureVectorLogScale. pipe(Instance carrier)
Instance
CharSequence2CharNGrams. pipe(Instance carrier)
Instance
CharSequence2TokenSequence. pipe(Instance carrier)
Instance
CharSequenceArray2TokenSequence. pipe(Instance carrier)
Instance
CharSequenceLowercase. pipe(Instance carrier)
Instance
CharSequenceNoDiacritics. pipe(Instance carrier)
Instance
CharSequenceRemoveHTML. pipe(Instance carrier)
Instance
CharSequenceRemoveUUEncodedBlocks. pipe(Instance carrier)
Instance
CharSequenceReplace. pipe(Instance carrier)
Instance
CharSequenceReplaceHtmlEntities. pipe(Instance carrier)
Instance
CharSubsequence. pipe(Instance carrier)
Instance
Classification2ConfidencePredictingFeatureVector. pipe(Instance carrier)
Instance
CountsToFeatureSequencePipe. pipe(Instance instance)
Instance
Csv2Array. pipe(Instance carrier)
Convert the data in anInstance
from a CharSequence of comma-separated-values to an array, where each index is the feature name.Instance
Csv2FeatureVector. pipe(Instance carrier)
Convert the data in the given Instance from a CharSequence of sparse feature-value pairs to a FeatureVectorInstance
Directory2FileIterator. pipe(Instance carrier)
Instance
FeatureCountPipe. pipe(Instance instance)
Instance
FeatureDocFreqPipe. pipe(Instance instance)
Instance
FeatureSequence2AugmentableFeatureVector. pipe(Instance carrier)
Instance
FeatureSequence2FeatureVector. pipe(Instance carrier)
Instance
FeatureSequenceConvolution. pipe(Instance carrier)
Instance
FeatureValueString2FeatureVector. pipe(Instance carrier)
Instance
FeatureVectorConjunctions. pipe(Instance carrier)
Instance
Filename2CharSequence. pipe(Instance carrier)
Instance
FixedVocabTokenizer. pipe(Instance instance)
Instance
Input2CharSequence. pipe(Instance carrier)
Instance
InstanceListTrimFeaturesByCount. pipe(Instance carrier)
Instance
LineGroupString2TokenSequence. pipe(Instance carrier)
Instance
MakeAmpersandXMLFriendly. pipe(Instance carrier)
Instance
NGramPreprocessor. pipe(Instance instance)
Instance
Noop. pipe(Instance carrier)
Instance
Pipe. pipe(Instance inst)
Really this should be 'protected', but isn't for historical reasons.Instance
PrintInput. pipe(Instance carrier)
Instance
PrintInputAndTarget. pipe(Instance carrier)
Instance
PrintTokenSequenceFeatures. pipe(Instance carrier)
Instance
SaveDataInSource. pipe(Instance carrier)
Instance
SelectiveSGML2TokenSequence. pipe(Instance carrier)
Instance
SGML2TokenSequence. pipe(Instance carrier)
Instance
SimpleTaggerSentence2StringTokenization. pipe(Instance carrier)
Takes an instance with data of type String or String[][] and creates an Instance of type StringTokenization.Instance
SimpleTaggerSentence2TokenSequence. pipe(Instance carrier)
Takes an instance with data of type String or String[][] and creates an Instance of type TokenSequence.Instance
SimpleTokenizer. pipe(Instance instance)
Instance
SourceLocation2TokenSequence. pipe(Instance carrier)
Instance
StringAddNewLineDelimiter. pipe(Instance carrier)
Instance
StringList2FeatureSequence. pipe(Instance carrier)
Instance
SvmLight2FeatureVectorAndLabel. pipe(Instance carrier)
Instance
Target2Double. pipe(Instance carrier)
Instance
Target2FeatureSequence. pipe(Instance carrier)
Instance
Target2Integer. pipe(Instance carrier)
Instance
Target2Label. pipe(Instance carrier)
Instance
Target2LabelSequence. pipe(Instance carrier)
Instance
TargetRememberLastLabel. pipe(Instance carrier)
Instance
TargetStringToFeatures. pipe(Instance carrier)
Instance
Token2FeatureVector. pipe(Instance carrier)
Instance
TokenSequence2FeatureSequence. pipe(Instance carrier)
Instance
TokenSequence2FeatureSequenceWithBigrams. pipe(Instance carrier)
Instance
TokenSequence2FeatureVectorSequence. pipe(Instance carrier)
Instance
TokenSequence2PorterStems. pipe(Instance carrier)
Instance
TokenSequenceLowercase. pipe(Instance carrier)
Instance
TokenSequenceMatchDataAndTarget. pipe(Instance carrier)
Instance
TokenSequenceNGrams. pipe(Instance carrier)
Instance
TokenSequenceParseFeatureString. pipe(Instance carrier)
Instance
TokenSequenceRemoveNonAlpha. pipe(Instance carrier)
Instance
TokenSequenceRemoveStopPatterns. pipe(Instance carrier)
Instance
TokenSequenceRemoveStopwords. pipe(Instance carrier)
Instance
ValueString2FeatureVector. pipe(Instance carrier)
boolean
Pipe. precondition(Instance inst)
Each instance processed is tested by this method.Method parameters in cc.mallet.pipe with type arguments of type Instance Modifier and Type Method Description Instance[]
Pipe. instancesFrom(java.util.Iterator<Instance> source)
A convenience method that will pull all instances from source through this pipe, and return the results as an array.java.util.Iterator<Instance>
BranchingPipe. newIteratorFrom(java.util.Iterator<Instance> source)
Deprecated.java.util.Iterator<Instance>
FeatureVectorSequence2FeatureVectors. newIteratorFrom(java.util.Iterator<Instance> inputIterator)
java.util.Iterator<Instance>
FilterEmptyFeatureVectors. newIteratorFrom(java.util.Iterator<Instance> source)
java.util.Iterator<Instance>
Pipe. newIteratorFrom(java.util.Iterator<Instance> source)
Given an InstanceIterator, return a new InstanceIterator whose instances have also been processed by this pipe.java.util.Iterator<Instance>
SerialPipes. newIteratorFrom(java.util.Iterator<Instance> source)
-
Uses of Instance in cc.mallet.pipe.iterator
Methods in cc.mallet.pipe.iterator that return Instance Modifier and Type Method Description Instance
ArrayDataAndTargetIterator. next()
Instance
ArrayIterator. next()
Instance
ConcatenatedInstanceIterator. next()
Instance
CsvIterator. next()
Instance
DBInstanceIterator. next()
Instance
EmptyInstanceIterator. next()
Instance
FileIterator. next()
Instance
FileListIterator. next()
Instance
FileUriIterator. next()
Instance
LineGroupIterator. next()
Instance
LineIterator. next()
Instance
ParenGroupIterator. next()
Instance
PatternMatchIterator. next()
Instance
PipeExtendedIterator. next()
Deprecated.abstract Instance
PipeInputIterator. next()
Deprecated.Instance
RandomFeatureVectorIterator. next()
Instance
RandomTokenSequenceIterator. next()
Instance
SegmentIterator. next()
Instance
SelectiveFileLineIterator. next()
Instance
SimpleFileLineIterator. next()
Instance
StringArrayIterator. next()
Instance
UnlabeledFileIterator. next()
Constructors in cc.mallet.pipe.iterator with parameters of type Instance Constructor Description SegmentIterator(Transducer model, Instance instance, java.lang.Object[] segmentStartTags, java.lang.Object[] segmentContinueTags)
SegmentIterator(Instance instance, java.lang.Object[] startTags, java.lang.Object[] inTags, Sequence prediction)
Iterate over segments in one instance.Constructor parameters in cc.mallet.pipe.iterator with type arguments of type Instance Constructor Description PipeExtendedIterator(java.util.Iterator<Instance> iterator, Pipe pipe)
Deprecated.Creates a newPipeExtendedIterator
instance. -
Uses of Instance in cc.mallet.pipe.tests
Methods in cc.mallet.pipe.tests that return Instance Modifier and Type Method Description Instance
TestInstancePipe.Array2ArrayIterator. pipe(Instance carrier)
Instance
TestSGML2TokenSequence.Array2ArrayIterator. pipe(Instance carrier)
Methods in cc.mallet.pipe.tests with parameters of type Instance Modifier and Type Method Description Instance
TestInstancePipe.Array2ArrayIterator. pipe(Instance carrier)
Instance
TestSGML2TokenSequence.Array2ArrayIterator. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.pipe.tsf
Methods in cc.mallet.pipe.tsf that return Instance Modifier and Type Method Description Instance
CountMatches. pipe(Instance carrier)
Instance
CountMatchesAlignedWithOffsets. pipe(Instance carrier)
Instance
CountMatchesMatching. pipe(Instance carrier)
Instance
FeaturesInWindow. pipe(Instance carrier)
Instance
FeaturesOfFirstMention. pipe(Instance carrier)
Instance
LexiconMembership. pipe(Instance carrier)
Instance
OffsetConjunctions. pipe(Instance carrier)
Instance
OffsetFeatureConjunction. pipe(Instance carrier)
Instance
OffsetPropertyConjunctions. pipe(Instance carrier)
Instance
RegexMatches. pipe(Instance carrier)
Instance
SequencePrintingPipe. pipe(Instance carrier)
Instance
Target2BIOFormat. pipe(Instance carrier)
Instance
TokenFirstPosition. pipe(Instance instance)
Instance
TokenText. pipe(Instance carrier)
Instance
TokenTextCharNGrams. pipe(Instance carrier)
Instance
TokenTextCharPrefix. pipe(Instance carrier)
Instance
TokenTextCharSuffix. pipe(Instance carrier)
Instance
TokenTextNGrams. pipe(Instance carrier)
Instance
TrieLexiconMembership. pipe(Instance carrier)
Instance
WordVectors. pipe(Instance carrier)
Methods in cc.mallet.pipe.tsf with parameters of type Instance Modifier and Type Method Description Instance
CountMatches. pipe(Instance carrier)
Instance
CountMatchesAlignedWithOffsets. pipe(Instance carrier)
Instance
CountMatchesMatching. pipe(Instance carrier)
Instance
FeaturesInWindow. pipe(Instance carrier)
Instance
FeaturesOfFirstMention. pipe(Instance carrier)
Instance
LexiconMembership. pipe(Instance carrier)
Instance
OffsetConjunctions. pipe(Instance carrier)
Instance
OffsetFeatureConjunction. pipe(Instance carrier)
Instance
OffsetPropertyConjunctions. pipe(Instance carrier)
Instance
RegexMatches. pipe(Instance carrier)
Instance
SequencePrintingPipe. pipe(Instance carrier)
Instance
Target2BIOFormat. pipe(Instance carrier)
Instance
TokenFirstPosition. pipe(Instance instance)
Instance
TokenText. pipe(Instance carrier)
Instance
TokenTextCharNGrams. pipe(Instance carrier)
Instance
TokenTextCharPrefix. pipe(Instance carrier)
Instance
TokenTextCharSuffix. pipe(Instance carrier)
Instance
TokenTextNGrams. pipe(Instance carrier)
Instance
TrieLexiconMembership. pipe(Instance carrier)
Instance
WordVectors. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.regression
Methods in cc.mallet.regression with parameters of type Instance Modifier and Type Method Description double
LinearRegression. predict(Instance instance)
-
Uses of Instance in cc.mallet.share.casutton.ner
Methods in cc.mallet.share.casutton.ner that return Instance Modifier and Type Method Description Instance
ConllNer2003Sentence2TokenSequence. pipe(Instance carrier)
Methods in cc.mallet.share.casutton.ner with parameters of type Instance Modifier and Type Method Description Instance
ConllNer2003Sentence2TokenSequence. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.share.mccallum.ner
Methods in cc.mallet.share.mccallum.ner that return Instance Modifier and Type Method Description Instance
ConllNer2003Sentence2TokenSequence. pipe(Instance carrier)
Instance
TokenSequenceDocHeader. pipe(Instance carrier)
Methods in cc.mallet.share.mccallum.ner with parameters of type Instance Modifier and Type Method Description Instance
ConllNer2003Sentence2TokenSequence. pipe(Instance carrier)
Instance
TokenSequenceDocHeader. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.share.upenn
Method parameters in cc.mallet.share.upenn with type arguments of type Instance Modifier and Type Method Description static Classification[]
MaxEntShell. classify(Classifier classifier, java.util.Iterator<Instance> data)
Compute the maxent classifications for unlabeled instances given by an iterator.static double
MaxEntShell. test(Classifier classifier, java.util.Iterator<Instance> data)
Test a maxent classifier.static Classifier
MaxEntShell. train(java.util.Iterator<Instance> data, double var, java.io.File save)
Train a maxent classifier. -
Uses of Instance in cc.mallet.share.upenn.ner
Methods in cc.mallet.share.upenn.ner that return Instance Modifier and Type Method Description Instance
FeatureWindow. pipe(Instance carrier)
Instance
LengthBins. pipe(Instance carrier)
Instance
ListMember. pipe(Instance carrier)
Instance
LongRegexMatches. pipe(Instance carrier)
Methods in cc.mallet.share.upenn.ner with parameters of type Instance Modifier and Type Method Description Instance
FeatureWindow. pipe(Instance carrier)
Instance
LengthBins. pipe(Instance carrier)
Instance
ListMember. pipe(Instance carrier)
Instance
LongRegexMatches. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.share.weili.ner.enron
Methods in cc.mallet.share.weili.ner.enron that return Instance Modifier and Type Method Description Instance
EnronMessage2TokenSequence. pipe(Instance carrier)
Methods in cc.mallet.share.weili.ner.enron with parameters of type Instance Modifier and Type Method Description Instance
EnronMessage2TokenSequence. pipe(Instance carrier)
-
Uses of Instance in cc.mallet.topics
Fields in cc.mallet.topics declared as Instance Modifier and Type Field Description Instance
LDAHyper.Topication. instance
Instance
TopicAssignment. instance
Instance[]
PolylingualTopicModel.TopicAssignment. instances
Methods in cc.mallet.topics with parameters of type Instance Modifier and Type Method Description void
DMRTopicModel. cacheAlphas(Instance instance, int docIndex)
Set alpha based on features in an instancedouble[]
DMRInferencer. getSampledDistribution(Instance instance, int numIterations, int thinning, int burnIn)
double[]
TopicInferencer. getSampledDistribution(Instance instance, int numIterations, int thinning, int burnIn)
Use Gibbs sampling to infer a topic distribution.protected int
LDAHyper. instanceLength(Instance instance)
Deprecated.Constructors in cc.mallet.topics with parameters of type Instance Constructor Description TopicAssignment(Instance[] instances, LabelSequence[] topicSequences)
TopicAssignment(Instance instance, LabelSequence topicSequence)
Topication(Instance instance, LDAHyper model, LabelSequence topicSequence)
-
Uses of Instance in cc.mallet.types
Methods in cc.mallet.types that return Instance Modifier and Type Method Description Instance
MultiInstanceList. get(int index)
Instance
PagedInstanceList. get(int index)
Returns theInstance
at the specified index.abstract Instance
ChainedInstanceIterator. next()
Deprecated.Instance
SingleInstanceIterator. next()
Instance
InstanceList. remove(int index)
Instance
MultiInstanceList. remove(int index)
Instance
InstanceList. set(int index, Instance instance)
Instance
MultiInstanceList. set(int index, Instance instance)
Instance
PagedInstanceList. set(int index, Instance instance)
Replaces theInstance
at positionindex
with a new one.Instance
Instance. shallowCopy()
Methods in cc.mallet.types that return types with arguments of type Instance Modifier and Type Method Description java.util.Iterator<Instance>
MultiInstanceList. iterator()
java.util.Iterator<Instance>
PagedInstanceList. iterator()
java.util.ListIterator<Instance>
MultiInstanceList. listIterator()
java.util.ListIterator<Instance>
MultiInstanceList. listIterator(int index)
Methods in cc.mallet.types with parameters of type Instance Modifier and Type Method Description void
InstanceList. add(int index, Instance element)
boolean
InstanceList. add(Instance instance)
Appends the instance to this list without passing the instance through the InstanceList's pipe.boolean
InstanceList. add(Instance instance, double instanceWeight)
Appends the instance to this list without passing it through this InstanceList's pipe, assigning it the specified weight.void
MultiInstanceList. add(int index, Instance element)
boolean
MultiInstanceList. add(Instance instance)
boolean
MultiInstanceList. add(Instance instance, double instanceWeight)
boolean
PagedInstanceList. add(Instance instance)
Appends the instance to this list.void
InstanceList. addThruPipe(Instance inst)
Adds the input instance to this list, after passing it through the InstanceList's pipe.double
InstanceList. getInstanceWeight(Instance instance)
boolean
Labeler. label(Instance instanceToLabel)
Given the (presumably unlabeled) instanceToLabel, set its target field to the true label.boolean
InstanceList. remove(Instance instance)
boolean
MultiInstanceList. remove(Instance instance)
Instance
InstanceList. set(int index, Instance instance)
Instance
MultiInstanceList. set(int index, Instance instance)
Instance
PagedInstanceList. set(int index, Instance instance)
Replaces theInstance
at positionindex
with a new one.void
InstanceList. setInstance(int index, Instance instance)
Replaces theInstance
at positionindex
with a new one.void
MultiInstanceList. setInstance(int index, Instance instance)
void
InstanceList. setInstanceWeight(Instance instance, double weight)
void
MultiInstanceList. setInstanceWeight(Instance instance, double weight)
Method parameters in cc.mallet.types with type arguments of type Instance Modifier and Type Method Description boolean
InstanceList. addAll(int index, java.util.Collection<? extends Instance> c)
boolean
InstanceList. addAll(java.util.Collection<? extends Instance> instances)
void
InstanceList. addThruPipe(java.util.Iterator<Instance> ii)
Adds to this list every instance generated by the iterator, passing each one through this InstanceList's pipe.boolean
ChainedInstanceIterator. sourceNowHasNext(java.util.Iterator<Instance> source)
Deprecated.The "source" of this iterator sends this message to tell this iterator that, even though source.hasNext() may have returned false before, it would now return true.Constructors in cc.mallet.types with parameters of type Instance Constructor Description SingleInstanceIterator(Instance inst)
Constructor parameters in cc.mallet.types with type arguments of type Instance Constructor Description ChainedInstanceIterator(java.util.Iterator<Instance> source, ChainedInstanceIterator target)
Deprecated.Both source and target may be null. -
Uses of Instance in cc.mallet.util
Method parameters in cc.mallet.util with type arguments of type Instance Modifier and Type Method Description void
DBInstanceStore. saveInstances(java.util.Iterator<Instance> iterator)
-