|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
LinearClassifier
.this + addend
does not change receiver.
ADMath
was created to extend the
current calculations of gradient to automatically include a calculation of the
hessian vector product with another vector v
.AFTER_KEY
.
AFTER_KEY
.
StringUtils.argsToMap(java.lang.String[])
.
BEFORE_KEY
.
BEFORE_KEY
.
null
if
none), which is stored in the map under the key CATEGORY_KEY
.
false
to get per-iteration progress reports
(to stderr).
MutableDouble
objects numerically.
MutableDouble
object to another object.
MutableInteger
objects numerically.
MutableInteger
object to another object.
Pair
to another object.
List
argument.
key
Counter
, this currently returns true if the count is
explicitly 0.0 for something
NER_KEY
.
Counter
s.this
as a Counter
.
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
.
CURRENT_KEY
.
CURRENT_KEY
.
ClassifierFactory
that incrementally
builds a more memory-efficent representation of a List
of
Datum
objects for the purposes of training a Classifier
with a ClassifierFactory
.this
to other
Counters
.this
with other
DoubleAD
was created to extend the
current calculations of gradient to automatically include a calculation of the
hessian vector product with another vector v
.System.err
(without stopping timer).
o==this
AbstractMapLabel
implementation which defines equality
as equality of the internal map.accept
method.Dataset
and RVFDataset
.List
s of a
prespecified length.GeneralizedCounter.getCounts(java.util.List)
({o})
; works only
for depth 1 GeneralizedCounters
GeneralizedCounter.getCounts(java.util.List)
({o1,o2})
; works only for depth 2
GeneralizedCounters
GeneralizedCounter.getCounts(java.util.List)
({o1,o2,o3})
; works only for depth 3
GeneralizedCounters
double[]
array of length
depth+1
, containing the conditional counts on a
depth
-length list given each level of conditional
distribution from 0 to depth
.
Distribution
instead of using this method.
HasCategory
interface
knows about categories.HasTag
interface
knows about part-of-speech tags.HasWord
interface
knows about words.null
if
none), which is stored in the map under the key HEAD_WORD_KEY
.
scorer
.
GeneralizedCounter.depth()
-dimensional key l
.
GeneralizedCounter.incrementCount(java.util.List, java.lang.Object)
({o}, count)
;
only works for a depth 1 GeneralizedCounter.
INDEX_KEY
.
List
s of size
equal to the depth of the GeneralizedCounter.
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.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.
List
of size one less than the depth of the GeneralizedCounter, and
each value is a Counter
.
java edu.stanford.nlp.process.WordShapeClassifier
[-wordShape name] string+
name
is an argument to lookupShaper
.
Map
contained in this label.
float
values.
double
values.
float
values.
double
values.
function
starting at initial
, within
functionTolerance
.
function
starting at initial
, within
functionTolerance
.
NER_KEY
.
NER_KEY
.
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.
Distribution
instead.
Collection
.
List
of indexed objects, in the order of their indices.
this
as a Counter
.
System.out
.
Dataset.printSparseFeatureMatrix()
to System.out
.
RVFDataset.printSparseFeatureMatrix()
to System.out
.
add()
, changePriority()
,
removeFirst()
, and getFirst()
method calls.System.err
(without stopping timer).
restWeight
flag.
System.err
and restart timer.
IOException
.ClassifierFactory
that incrementally
builds a more memory-efficent representation of a List
of
RVFDatum
objects for the purposes of training a Classifier
with a ClassifierFactory
.Random
number generator.
Random
number generator
this * factor
does not change receiver.
AFTER_KEY
.
AFTER_KEY
.
value
(in sparse matrices, sets all nonzero elements = value)
BEFORE_KEY
.
BEFORE_KEY
.
CURRENT_KEY
.
CURRENT_KEY
.
LogConditionalObjectiveFunction
.
String
representing the
complete contents of the label.
LineSearcher
to be used in LinearClassifierFactory.heldOutSetSigma(GeneralDataset, GeneralDataset)
.
INDEX_KEY
.
QNMinimizer
.
NER_KEY
.
NER_KEY
.
SHAPE_KEY
.
HEAD_TAG_KEY
.
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
.
SHAPE_KEY
.
Datum
s) in the Dataset.
SloppyMath
contains methods for performing basic
numeric operations.System.err
and stop timer.
fromIndex
, inclusive, and toIndex
, exclusive.
null
if none),
which is stored in the map under the key TAG_KEY
.
System.err
and restart (static) timer.
List
key in the GeneralizedCounter.
PriorityQueue
of the c where the score of the object is 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
.
WORD_KEY
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |