public class NeuralNetConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
ActivationFunction |
activation |
org.apache.commons.math3.distribution.RealDistribution |
dist |
double |
fanIn |
protected boolean |
forceNumEpochs |
int[] |
hiddenLayerSizes |
double |
l2 |
LogisticRegression |
logLayer |
double |
momentum |
int |
nIns |
int |
nLayers |
int |
nOuts |
MultiLayerNetworkOptimizer |
optimizer |
int |
renderWeightsEveryNEpochs |
org.apache.commons.math3.random.RandomGenerator |
rng |
protected boolean |
shouldBackProp |
boolean |
shouldInit |
boolean |
toDecode |
boolean |
useRegularization |
protected Map<Integer,MatrixTransform> |
weightTransforms |
Constructor and Description |
---|
NeuralNetConfiguration() |
Modifier and Type | Method and Description |
---|---|
ActivationFunction |
getActivation() |
org.apache.commons.math3.distribution.RealDistribution |
getDist() |
double |
getFanIn() |
int[] |
getHiddenLayerSizes() |
double |
getL2() |
LogisticRegression |
getLogLayer() |
double |
getMomentum() |
int |
getnIns() |
int |
getnLayers() |
int |
getnOuts() |
MultiLayerNetworkOptimizer |
getOptimizer() |
int |
getRenderWeightsEveryNEpochs() |
org.apache.commons.math3.random.RandomGenerator |
getRng() |
Map<Integer,MatrixTransform> |
getWeightTransforms() |
boolean |
isForceNumEpochs() |
boolean |
isShouldBackProp() |
boolean |
isShouldInit() |
boolean |
isToDecode() |
boolean |
isUseRegularization() |
void |
setActivation(ActivationFunction activation) |
void |
setDist(org.apache.commons.math3.distribution.RealDistribution dist) |
void |
setFanIn(double fanIn) |
void |
setForceNumEpochs(boolean forceNumEpochs) |
void |
setHiddenLayerSizes(int[] hiddenLayerSizes) |
void |
setL2(double l2) |
void |
setLogLayer(LogisticRegression logLayer) |
void |
setMomentum(double momentum) |
void |
setnIns(int nIns) |
void |
setnLayers(int nLayers) |
void |
setnOuts(int nOuts) |
void |
setOptimizer(MultiLayerNetworkOptimizer optimizer) |
void |
setRenderWeightsEveryNEpochs(int renderWeightsEveryNEpochs) |
void |
setRng(org.apache.commons.math3.random.RandomGenerator rng) |
void |
setShouldBackProp(boolean shouldBackProp) |
void |
setShouldInit(boolean shouldInit) |
void |
setToDecode(boolean toDecode) |
void |
setUseRegularization(boolean useRegularization) |
void |
setWeightTransforms(Map<Integer,MatrixTransform> weightTransforms) |
public int nIns
public int[] hiddenLayerSizes
public int nOuts
public int nLayers
public LogisticRegression logLayer
public org.apache.commons.math3.random.RandomGenerator rng
public org.apache.commons.math3.distribution.RealDistribution dist
public double momentum
public MultiLayerNetworkOptimizer optimizer
public ActivationFunction activation
public boolean toDecode
public double l2
public boolean shouldInit
public double fanIn
public int renderWeightsEveryNEpochs
public boolean useRegularization
protected Map<Integer,MatrixTransform> weightTransforms
protected boolean shouldBackProp
protected boolean forceNumEpochs
public int getnIns()
public void setnIns(int nIns)
public int[] getHiddenLayerSizes()
public void setHiddenLayerSizes(int[] hiddenLayerSizes)
public int getnOuts()
public void setnOuts(int nOuts)
public int getnLayers()
public void setnLayers(int nLayers)
public LogisticRegression getLogLayer()
public void setLogLayer(LogisticRegression logLayer)
public org.apache.commons.math3.random.RandomGenerator getRng()
public void setRng(org.apache.commons.math3.random.RandomGenerator rng)
public org.apache.commons.math3.distribution.RealDistribution getDist()
public void setDist(org.apache.commons.math3.distribution.RealDistribution dist)
public double getMomentum()
public void setMomentum(double momentum)
public MultiLayerNetworkOptimizer getOptimizer()
public void setOptimizer(MultiLayerNetworkOptimizer optimizer)
public ActivationFunction getActivation()
public void setActivation(ActivationFunction activation)
public boolean isToDecode()
public void setToDecode(boolean toDecode)
public double getL2()
public void setL2(double l2)
public boolean isShouldInit()
public void setShouldInit(boolean shouldInit)
public double getFanIn()
public void setFanIn(double fanIn)
public int getRenderWeightsEveryNEpochs()
public void setRenderWeightsEveryNEpochs(int renderWeightsEveryNEpochs)
public boolean isUseRegularization()
public void setUseRegularization(boolean useRegularization)
public Map<Integer,MatrixTransform> getWeightTransforms()
public void setWeightTransforms(Map<Integer,MatrixTransform> weightTransforms)
public boolean isShouldBackProp()
public void setShouldBackProp(boolean shouldBackProp)
public boolean isForceNumEpochs()
public void setForceNumEpochs(boolean forceNumEpochs)
Copyright © 2014. All Rights Reserved.