|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Counter
.remove()
defined to throw an
UnsupportedOperationException
.LinearClassifier
.ADMath
was created to extend the
current calculations of gradient to automatically include a calculation of the
hessian vector product with another vector v
.StringUtils.argsToMap(java.lang.String[])
.
CoreMap
backed by Java Arrays.false
to get per-iteration progress reports
(to stderr).
value()
's lexicographic ordering.
MutableDouble
objects numerically.
MutableInteger
objects numerically.
Pair
to another object.
CoreMap
,
parameterized by the type of the value associated with the annotation.CoreMap
s.Counter
s.Pair
s
LinearClassifierFactory.crossValidateSetSigma(GeneralDataset, int)
with 5-fold cross-validation.
LinearClassifierFactory.crossValidateSetSigma(GeneralDataset, int, Scorer, LineSearcher)
with
multi-class log-likelihood scoring (see MultiClassAccuracyStats
) and golden-section line search
(see GoldenSectionLineSearch
).
scorer
.
ClassifierFactory
that incrementally
builds a more memory-efficient representation of a List
of
Datum
objects for the purposes of training a Classifier
with a ClassifierFactory
.Counters
.DoubleAD
was created to extend the
current calculations of gradient to automatically include a calculation of the
hessian vector product with another vector v
.FileReader
but allows for the specification of input encoding.System.err
(without stopping timer).
ValueLabel
s is defined in the first instance
as equality of their String
value()
.
accept
method.Dataset
and RVFDataset
.Distribution
instead of using this method.
HasCategory
interface
knows about categories.ArrayCoreMap
with an immutable set of key,value
pairs that is used for equality and hashcode comparisons.HasOffset
interface
bears a offset reference to the original textHasTag
interface
knows about part-of-speech tags.HasWord
interface
knows about words.scorer
.
Set
such that each element in the returned set
is a unique object e' that .equals the corresponding element e in the
original set.
Set
such that each element in the returned set
is a unique object e' that .equals the corresponding element e in the
original set.
Collection
with the given glue.
Label
interface can act as a
constituent, node, or word label with linguistic attributes.LabelFactory
object acts as a factory for creating
objects of class Label
, or some descendant class.StringLabel
).
TaggedWord
).
Word
).
TaggedWord
).
TaggedWord
).
WordLemmaTag
.
loadFromFilename
, and is intended to be included in a routine
that unpacks a text-serialized form of an object that incorporates an Index.
fromIndex
, inclusive, and
toIndex
, exclusive, of an array of numbers, which are
themselves input in log form.
fromIndex
, inclusive, and
toIndex
, exclusive, of an array of numbers, which are
themselves input in log form.
java edu.stanford.nlp.process.WordShapeClassifier
[-wordShape name] string+
name
is an argument to lookupShaper
.
int
values.
float
values.
double
values.
float
values.
double
values.
function
starting at initial
, within
functionTolerance
.
function
starting at initial
, within
functionTolerance
.
String
as the
value
.
String
as the value, and
the type determined in an implementation-dependent way from the
options value.
Label
, where the label is formed from
the Label
object passed in.
String
as the "name".
String
as the "name".
StringLabel
, where the label is
formed from
the Label
object passed in.
String
as the value (word).
String
as a value component.
TaggedWord Label
, where the label is
formed from
the Label
object passed in.
String
passed in.
String
passed in.
Word Label
, where the label is
formed from
the Label
object passed in.
String
as the value (word).
String
as a value component.
WordLemmaTag Label
, where the label is
formed from the Label
object passed in.
String
as the value (word).
String
as a value component.
WordTag Label
, where the label is
formed from
the Label
object passed in.
String
as the "name".
String
passed in.
String
passed in.
String
passed in.
String
passed in.
Collection
.
Collection
.
List
of indexed objects, in the order of their indices.
List
of indexed objects, in the order of their indices.
Dataset.printSparseFeatureMatrix()
to System.out
.
RVFDataset.printSparseFeatureMatrix(PrintWriter)
to System.out
.
add()
, changePriority()
,
removeFirst()
, and getFirst()
method calls.UnupportedOperationException
.
System.err
(without stopping timer).
System.err
and restart timer.
num
num
num
IOException
.ClassifierFactory
that incrementally builds
a more memory-efficient representation of a List
of RVFDatum
objects for the purposes of training a Classifier
with a
ClassifierFactory
.Random
number generator.
Random
number generator
LogConditionalObjectiveFunction
.
String
representing the
complete contents of the label.
String
representing the
complete contents of the label.
String
passed in.
String
passed in.
LineSearcher
to be used in LinearClassifierFactory.heldOutSetSigma(GeneralDataset, GeneralDataset)
.
QNMinimizer
.
tuneSigmaCV
flag: when turned on,
the sigma is tuned by cross-validation.
tuneSigma
flag: when turned on,
the sigma is tuned by cross-validation.
tuneSigmaHeldOut
flag: when turned on,
the sigma is tuned by means of held-out (70%-30%).
useSum
flag: when turned on,
the Summed Conditional Objective Function is used.
CGMinimizer
.
Datum
s) in the Dataset.
SloppyMath
contains methods for performing basic
numeric operations.ann
to the given CoreLabel.
System.err
and stop timer.
StringLabel
object acts as a Label by containing a
single String, which it sets or returns in response to requests.StringLabel
with a null content (i.e., str).
StringLabel
with the given content.
StringLabel
with the given content.
StringLabel
with the
value()
of another label as its label.
StringLabelFactory
object makes a simple
StringLabel
out of a String
.fromIndex
, inclusive, and toIndex
, exclusive.
TaggedWord
object contains a word and its tag.TaggedWord
.
TaggedWord
.
TaggedWord
.
TaggedWord
.
TaggedWord
.
TaggedWordFactory
acts as a factory for creating objects of
class TaggedWord
.TaggedWordFactory
.
TaggedWordFactory
.
System.err
and restart (static) timer.
PriorityQueue
whose elements are
the keys of Counter c, and the score of each key in c becomes its priority.
String
representation of the k
keys
with the largest counts in the given Counter
, using the given
format string.
Collection
of Datum
objects and gives you back a
Classifier
trained on it.
Reference
to a Collection
of Datum
objects and gives you back a Classifier
trained on them
Classifier
on a Dataset
.
CGMinimizer
, with the passed verbose
flag.
CGMinimizer
.
ValueLabel
object acts as a Label with linguistic
attributes.Word
object acts as a Label by containing a String.null
value.
Label
interface.
WordFactory
acts as a factory for creating objects of
class Word
.WordLemmaTag
.
WordLemmaTag
.
WordLemmaTag
from a Label.
WordLemmaTagFactory
acts as a factory for creating
objects of class WordLemmaTag
.WordLemmaTagFactory
.
WordLemmaTagFactory
.
WordTag
.
WordTag
from a Label.
WordTagFactory
acts as a factory for creating
objects of class WordTag
.WordTagFactory
.
WordTagFactory
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |