public class GrowingCellStructures extends AbstractNetworkModel
GrowingCellLayer
and mainly handles command line execution and parameters. It
implements the NetworkModel
interface which is currently not used, but may be
used in the future.Modifier and Type | Field and Description |
---|---|
private static float |
alpha |
private static float |
epsilonB |
private static float |
epsilonN |
private static float |
eta |
private static int |
lamda |
protected GrowingCellLayer |
layer |
contentType, DEFAULT_LABEL_COUNT, labelled, sharedInputObjects, trainingStart
Constructor and Description |
---|
GrowingCellStructures(int dim,
boolean normalize,
SOMProperties props,
InputData data)
Constructs a new
GrowingCellStructures with dim -dimensional weight vectors. |
Modifier and Type | Method and Description |
---|---|
GrowingCellLayer |
getLayer() |
static void |
main(java.lang.String[] args)
Method for stand-alone execution of map training.
|
private void |
train(InputData data,
SOMProperties props)
Trains a GrowingCellStructures
|
getDataContentType, getInputData, getSharedInputObjects, isLabelled, printTrainingTime, setLabelled, setSharedInputObjects
protected GrowingCellLayer layer
private static float epsilonB
private static float epsilonN
private static float alpha
private static int lamda
private static float eta
public GrowingCellStructures(int dim, boolean normalize, SOMProperties props, InputData data)
GrowingCellStructures
with dim
-dimensional weight vectors. Argument
norm
determines whether the randomly initialized weight vectors should be normalized to unit length
or not.dim
- the dimensionality of the weight vectors.normalize
- specifies if the weight vectors are to be normalized to unit length.props
- the network properties.public static void main(java.lang.String[] args)
args
- the execution arguments as stated above.private void train(InputData data, SOMProperties props)
data
- inputdata used for trainingprops
- properties for trainingpublic GrowingCellLayer getLayer()