|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.HNeuralNet
public class HNeuralNet
Neural net calculations. Based on Backpropagation NN.
Constructor Summary | |
---|---|
HNeuralNet()
Create a network net and set name for the network |
Method Summary | |
---|---|
void |
addFeedForwardLayer(int neuronCount)
Construct this layer with a sigmoid threshold function. |
org.encog.neural.data.basic.BasicNeuralDataSet |
editData()
Edit data |
org.encog.neural.networks.BasicNetwork |
editNetwork()
Edit a neural net in a frame |
org.encog.neural.data.basic.BasicNeuralDataSet |
getData()
Get data |
java.util.ArrayList<java.lang.Double> |
getEpochError()
Returns errors for each epoch. |
org.encog.neural.networks.Network |
getNetwork()
Return neural net back. |
org.encog.neural.data.basic.BasicNeuralDataSet |
predict()
Generate predictions for the data. |
org.encog.neural.data.basic.BasicNeuralDataSet |
predict(org.encog.neural.data.basic.BasicNeuralDataSet data)
Evaluate data set using currenr NN |
org.encog.neural.data.NeuralData |
predict(org.encog.neural.data.NeuralData input)
Evaluate data using currenr NN |
P0D |
predict(P0D input)
Generate prediction for input data |
PND |
predict(PND input)
Generate predictions for all input data |
int |
read(java.lang.String file,
java.lang.String name)
Read a neural net from a file. |
void |
reset()
Reset the weight matrix and the thresholds. |
java.lang.String |
save(java.lang.String file,
java.lang.String name,
java.lang.String description)
Save current status of neural net. |
void |
setData(double[][] input)
Construct a data set from an input |
void |
setData(double[][] input,
double[][] ideal)
Construct a data set from an input and idea array. |
void |
setData(PND input)
Set data |
void |
setData(PND input,
PND ideal)
Set data for training. |
void |
show()
Show Net in EncodeDocument. |
void |
showNetwork()
Show a neural net in a frame |
PND |
standardize(PND input)
Standardize each column. |
int |
trainBackpopogation(boolean isShow,
int maxEpoch,
double learnRate,
double momentum,
double errorMinEpoch)
Training neural network.Construct a backpropagation trainer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HNeuralNet()
name
- name for the networkMethod Detail |
---|
public void reset()
public void addFeedForwardLayer(int neuronCount)
neuronCount
- How many neurons in this layerpublic void setData(double[][] input, double[][] ideal)
input
- The input into the neural network for training.ideal
- The ideal output for training.public void setData(double[][] input)
input
- The input into the neural network for training.public void setData(PND input, PND ideal)
input
- input data setideal
- expected resul.public void setData(PND input)
input
- input data setpublic PND standardize(PND input)
input
- PND
public org.encog.neural.data.basic.BasicNeuralDataSet getData()
public org.encog.neural.data.NeuralData predict(org.encog.neural.data.NeuralData input)
public P0D predict(P0D input)
input
- input data for predictionspublic org.encog.neural.data.basic.BasicNeuralDataSet predict(org.encog.neural.data.basic.BasicNeuralDataSet data)
public PND predict(PND input)
input
- input data for prediction
public org.encog.neural.data.basic.BasicNeuralDataSet predict()
public int trainBackpopogation(boolean isShow, int maxEpoch, double learnRate, double momentum, double errorMinEpoch)
isShow
- Show learning on a pop-up plotmaxEpoch
- maximum number of epochslearnRate
- The rate at which the weight matrix will be adjusted based on
learning.momentum
- The influence that previous iteration's training deltas will
have on the current iteration.errorMinEpoch
- min error for epoch.
public java.lang.String save(java.lang.String file, java.lang.String name, java.lang.String description)
file
- File namename
- Name of this neural networkdescription
- description
public int read(java.lang.String file, java.lang.String name)
file
- File namename
- Name of this neural network
public org.encog.neural.networks.Network getNetwork()
public void showNetwork()
public org.encog.neural.networks.BasicNetwork editNetwork()
public org.encog.neural.data.basic.BasicNeuralDataSet editData()
public void show()
public java.util.ArrayList<java.lang.Double> getEpochError()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |