Package | Description |
---|---|
edu.illinois.cs.cogcomp.lbjava.IR | |
edu.illinois.cs.cogcomp.lbjava.learn | |
edu.illinois.cs.cogcomp.lbjava.parse |
Modifier and Type | Field and Description |
---|---|
FoldParser.SplitPolicy |
LearningClassifierExpression.splitPolicy
(ø) Dictates how the training data will be split into subsets for use by cross
validation; second argument to
cval . |
FoldParser.SplitPolicy |
LearningClassifierExpression.Clause.splitPolicy
Dictates how the training data will be split into subsets for use by cross validation.
|
Constructor and Description |
---|
Clause(int t,
ASTNode a,
Expression r,
Block b,
Constant k,
FoldParser.SplitPolicy s,
Constant al,
Constant p,
Constant pct,
Constant ptt,
Constant pt)
This constructor is only called by
LearningClassifierExpression.Clause.clone() . |
LearningClassifierExpression(ClassifierExpression l,
ClassifierExpression ext,
InstanceCreationExpression p,
Expression r,
InstanceCreationExpression a,
Name ln,
Block pb,
Constant enc,
InstanceCreationExpression tp,
Expression e,
Constant k,
LinkedList<ParameterSet> prms,
FoldParser.SplitPolicy s,
InstanceCreationExpression t,
Constant al,
Constant pre,
Constant pro,
Constant pct,
Constant ptt,
Constant pt,
Integer ls,
Integer fs,
Integer ps,
StringBuffer at,
boolean cdv)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
BatchTrainer.crossValidation(int[] rounds,
int k,
FoldParser.SplitPolicy splitPolicy,
double alpha,
TestingMetric metric,
boolean statusMessages)
Performs cross validation, computing a confidence interval on the performance of the learner
after each of the specified rounds of training.
|
Learner.Parameters |
BatchTrainer.tune(Learner.Parameters[] parameters,
int[] rounds,
int k,
FoldParser.SplitPolicy splitPolicy,
double alpha,
TestingMetric metric)
Tune learning algorithm parameters using cross validation.
|
Modifier and Type | Field and Description |
---|---|
static FoldParser.SplitPolicy |
FoldParser.SplitPolicy.kth
Represents the split policy in which every kth example is part of the same
fold.
|
static FoldParser.SplitPolicy |
FoldParser.SplitPolicy.manual
Represents the split policy in which the user manually inserts fold separation objects.
|
static FoldParser.SplitPolicy |
FoldParser.SplitPolicy.random
Represents the random split policy.
|
static FoldParser.SplitPolicy |
FoldParser.SplitPolicy.sequential
Represents the sequential split policy.
|
protected FoldParser.SplitPolicy |
FoldParser.splitPolicy
The way in which examples are partitioned into folds.
|
Constructor and Description |
---|
FoldParser(Parser parser,
FoldParser.SplitPolicy split,
int pivot,
boolean f)
Constructor for when you know neither how many examples are in the data nor K, i.e.,
how many folds are in the data.
|
FoldParser(Parser parser,
int K,
FoldParser.SplitPolicy split,
int pivot,
boolean f)
Constructor for when you don't know how many examples are in the data.
|
FoldParser(Parser parser,
int K,
FoldParser.SplitPolicy split,
int pivot,
boolean f,
int e)
Full constructor.
|
Copyright © 2016. All rights reserved.