|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.prune.PruneSelective
public class PruneSelective
Prune a neural network selectively. This class allows you to either add or remove neurons from layers of a neural network. Tools
| Constructor Summary | |
|---|---|
PruneSelective(BasicNetwork network)
Construct an object prune the neural network. |
|
| Method Summary | |
|---|---|
void |
changeNeuronCount(Layer layer,
int neuronCount)
Change the neuron count for the network. |
double |
determineNeuronSignificance(Layer layer,
int neuron)
Determine the significance of the neuron. |
BasicNetwork |
getNetwork()
|
void |
prune(Layer targetLayer,
int neuron)
Prune one of the neurons from this layer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PruneSelective(BasicNetwork network)
network - The network to prune.| Method Detail |
|---|
public void changeNeuronCount(Layer layer,
int neuronCount)
layer - The layer to adjust.neuronCount - The new neuron count for this layer.
public double determineNeuronSignificance(Layer layer,
int neuron)
layer - The layer to query.neuron - The neuron to query.
public BasicNetwork getNetwork()
public void prune(Layer targetLayer,
int neuron)
targetLayer - The neuron to prune. Zero specifies the first neuron.neuron - The neuron to prune.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||