public class BilinearLearnerParameters extends LearningParameters implements WriteableASCII
BilinearSparseOnlineLearner
LearningParameters.Placeholder
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static String |
BIAS
whether a bias component is added to w and u.
|
static String |
BIASINITSTRAT
The initialisation strategy for BIAS.
|
static String |
BICONVEX_MAXITER
The maximum number of iterations in the biconvex iterative stage.
|
static String |
BICONVEX_TOL
The threshold of the ratio between the (sum(new_w - old_w) + sum(new_u -
old_u)) / (sum(old_u) + sum(old_w)) i.e.
|
static String |
DAMPENING
The value of w, u and beta are updated each time data is added s.t.
|
static String |
ETA_GAMMA
The ammount by which ETA is made to increase each iteration
|
static String |
ETA0_BIAS
The weighting of the subgradient of BIAS, weighted down each ETASTEPS
number of iterations of the biconvex scheme, defaults to eta0 (0.05)
|
static String |
ETA0_U
The weighting of the subgradient of U, weighted down each ETASTEPS number
of iterations of the biconvex scheme, defaults to 0.05
|
static String |
ETA0_W
The weighting of the subgradient of W, weighted down each ETASTEPS number
of iterations of the biconvex scheme, defaults to 0.05
|
static String |
ETASTEPS
The steps at which point the eta parameter is reduced, defaults to 3
|
static String |
EXPANDEDUINITSTRAT
The initialisation strategy for U when it is expanded.
|
static String |
EXPANDEDWINITSTRAT
The initialisation strategy for W when it is expanded.
|
static String |
FORCE_SPARCITY
Should all parameter matricies be held
SparseMatrix instances and
therefore remain sparse. |
static String |
LAMBDA
The parameter of the regulariser for both W and U
|
static String |
LAMBDA_U
The parameter of the regulariser for U, defaults to LAMBDA
|
static String |
LAMBDA_W
The parameter of the regulariser for W, defaults to LAMBDA
|
static String |
LOSS
The loss function, defaults to
SquareMissingLossFunction |
static String |
REGUL
The regularisation function, defaults to
L1L2Regulariser |
static String |
SEED
The random seed of any randomised components of this learner (usually
initialisation).
|
static String |
UINITSTRAT
The initialisation strategy for U.
|
static String |
WINITSTRAT
The initialisation strategy for W.
|
static String |
Z_STANDARDISE
Whether the Vprime and Dprime matrices should be zscore standardised
|
Constructor and Description |
---|
BilinearLearnerParameters()
sets up the defaults
|
Modifier and Type | Method and Description |
---|---|
String |
asciiHeader()
Header for ascii output.
|
BilinearLearnerParameters |
clone() |
String |
toString() |
void |
writeASCII(PrintWriter out)
Write the content of this as ascii to out.
|
getTyped
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode
public static final String BIAS
public static final String SEED
public static final String WINITSTRAT
SparseRandomInitStrategy
with sparsity set to 0.5public static final String UINITSTRAT
SparseRandomInitStrategy
with sparsity set to 0.5public static final String EXPANDEDWINITSTRAT
CurrentWMean
public static final String EXPANDEDUINITSTRAT
CurrentUMean
public static final String BIASINITSTRAT
SparseZerosInitStrategy
public static final String BICONVEX_MAXITER
public static final String BICONVEX_TOL
public static final String LAMBDA_W
public static final String LAMBDA_U
public static final String LAMBDA
public static final String ETA0_U
public static final String ETA0_W
public static final String ETA0_BIAS
public static final String LOSS
SquareMissingLossFunction
public static final String REGUL
L1L2Regulariser
public static final String ETASTEPS
public static final String FORCE_SPARCITY
SparseMatrix
instances and
therefore remain sparse. Forces a copy but could save a lot.public static final String DAMPENING
public static final String Z_STANDARDISE
public static final String ETA_GAMMA
public BilinearLearnerParameters()
public void writeASCII(PrintWriter out) throws IOException
WriteableASCII
writeASCII
in interface WriteableASCII
out
- sink to write toIOException
- an error writing to outpublic String asciiHeader()
WriteableASCII
asciiHeader
in interface WriteableASCII