All Packages Class Hierarchy This Package Previous Next Index
Class berkeley.cs.dmc.neuralnet.NeuralNet
java.lang.Object
|
+----berkeley.cs.dmc.neuralnet.NeuralNet
- public class NeuralNet
- extends Object
-
NeuralNet()
-
-
addHidden(Neuron)
-
-
addInput(Neuron)
-
-
addNeuron(Neuron)
-
-
addOutput(Neuron)
-
-
addToArray(Neuron[], int, Neuron)
-
-
getOutput(double[])
-
-
growNet(int, ActFunc, OutFunc)
-
-
makeNet(int, int, int, int, ActFunc, OutFunc)
-
-
makeNet2(int, int, int, int, ActFunc, OutFunc)
-
-
numHidden()
-
-
outputProc(PrintWriter, String, double[][])
-
-
print(PrintStream)
-
-
propagateBackward2(Pattern, double, double)
-
-
propagateForward()
-
-
randomize(double, double)
-
-
removeFromArray(Neuron[], int, Neuron)
-
-
removeHidden(Neuron)
-
-
removeInput(Neuron)
-
-
removeNeuron(Neuron)
-
-
removeOutput(Neuron)
-
-
setInput(double[])
-
-
test(double[], double[])
-
-
topoSort()
-
-
toString()
-
NeuralNet
public NeuralNet()
toString
public String toString()
- Overrides:
- toString in class Object
print
public void print(PrintStream out)
addToArray
protected Neuron[] addToArray(Neuron array[],
int idx,
Neuron n)
removeFromArray
protected void removeFromArray(Neuron array[],
int size,
Neuron n)
addInput
protected void addInput(Neuron n)
addHidden
protected void addHidden(Neuron n)
addOutput
protected void addOutput(Neuron n)
removeInput
protected void removeInput(Neuron n)
removeHidden
protected void removeHidden(Neuron n)
removeOutput
protected void removeOutput(Neuron n)
addNeuron
public void addNeuron(Neuron n)
removeNeuron
public void removeNeuron(Neuron n)
topoSort
public void topoSort()
test
public synchronized void test(double in[],
double out[])
setInput
public synchronized void setInput(double in[])
getOutput
public synchronized void getOutput(double out[])
outputProc
public void outputProc(PrintWriter out,
String procName,
double outranges[][])
propagateForward
public synchronized void propagateForward()
propagateBackward2
public synchronized double propagateBackward2(Pattern pat,
double learning,
double deltaMax)
randomize
public void randomize(double min,
double max)
numHidden
public int numHidden()
growNet
public void growNet(int hid,
ActFunc actf,
OutFunc outf)
makeNet
public static NeuralNet makeNet(int in,
int numhid,
int hid,
int out,
ActFunc actf,
OutFunc outf)
makeNet2
public static NeuralNet makeNet2(int in,
int numhid,
int hid,
int out,
ActFunc actf,
OutFunc outf)
All Packages Class Hierarchy This Package Previous Next Index