|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.AbleObject | +--com.ibm.able.beans.AbleNetwork | +--com.ibm.able.beans.AbleBackPropagation
Back Propagation Model Programmer: Joe Bigus Created: 10/4/90 Change Log: 7/26/95 jpb Major redesign for C++ (NNU V4)
Field Summary | |
---|---|
static java.lang.String |
defaultName
Value assigned to name by default. |
Fields inherited from class com.ibm.able.beans.AbleNetwork |
---|
activations, breakPointFlag, breakPoints, inNum, lastBreakPoint, MODE_NAMES, netArchitecture, netEpoch, netMode, netModelType, netRecInx, netStepsPerEpoch, NNRUN, NNTEST, NNTRAIN, outNum |
Fields inherited from class com.ibm.able.AbleObject |
---|
changed, chgSupport, comment, dataFlowEnabled, destBufferConnections, eventQueue, fileName, inputBuffer, listeners, logger, name, outputBuffer, parent, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
Constructor Summary | |
---|---|
AbleBackPropagation()
default constructor |
|
AbleBackPropagation(java.lang.String aName)
default constrcutor with a name |
|
AbleBackPropagation(java.lang.String aName,
java.lang.String args)
construct a back prop network with specified name and architecture |
Method Summary | |
---|---|
void |
changeNetArchitecture(java.lang.String parms)
Change the network architecture. |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
void |
createNetwork(int NumIn,
int NumHid1,
int NumHid2,
int NumHid3,
int NumOut,
int FeedbackType)
create a Back Propagation network with the specified architecture |
void |
endEpoch()
Perform the end of epoch processing. |
void |
generateTranslateTemplates(AbleFilter filt,
AbleFilter outFilt,
java.util.Vector fields)
Populate a filter for converting data to a bean's input specifications, and a filter for converting a bean's output specifications back to the original coordinates. |
double[] |
getActivations()
|
double |
getAveRMSError()
return the average RMS error |
double |
getAvgRMSError()
|
double |
getBadPatRatio()
|
double |
getDecayFactor()
|
double[] |
getError()
|
int |
getFeedbackType()
|
double |
getLastRMSError()
|
double |
getLearnRate()
return the learn rate parameter |
double |
getMaxRMSError()
|
double |
getMomentum()
return the momentum parameter |
java.lang.String |
getNetArchitecture()
get the network architecture as specified by the user |
java.util.Vector |
getNetworkGraphicData()
return data on the network architecture, activations, and weights for display by the AbleNetworkGraphicView custom inspector |
int |
getNumHidden1()
|
int |
getNumHidden2()
|
int |
getNumHidden3()
|
int |
getNumInputs()
|
int |
getNumOutputs()
|
int |
getNumUnits()
|
int |
getNumWeights1()
|
int |
getNumWeights2()
|
int |
getNumWeights3()
|
int |
getNumWeights4()
|
double |
getPercentCorrect()
|
double |
getPercentIncorrect()
|
double |
getPercentUnknown()
|
double[] |
getTeach()
|
double[] |
getThreshold()
|
double |
getTolerance()
return the error tolerance parameter |
double[] |
getWeights1()
|
double[] |
getWeights2()
|
double[] |
getWeights3()
|
double[] |
getWeights4()
|
double[] |
getWgtDeriv1()
|
double[] |
getWgtDeriv2()
|
double[] |
getWgtDeriv3()
|
double[] |
getWgtDeriv4()
|
boolean |
isAdaptLearnRate()
|
boolean |
isEpochUpdate()
|
boolean |
isExplicitErrorMode()
|
boolean |
isSymmetricActFunction()
|
void |
process()
Performs the main, synchronous, standard processing function performed by this bean. |
void |
readInputs()
move data from the train/test set into the network input units and the teach array |
void |
reset()
Reset this bean to its "initialized" state. |
void |
setAdaptLearnRate(boolean state)
|
void |
setDecayFactor(double factor)
|
void |
setEpochUpdate(boolean state)
|
void |
setExplicitErrorMode(boolean state)
|
void |
setLearnRate(double newVal)
set the learn rate parameter |
void |
setMomentum(double newVal)
set the momentum parameter |
void |
setNetArchitecture(java.lang.String arch)
Set the back propagation network architecture The architecture string is a sequence of space-delimited integers as follows: numInput numHid1 numHid2 numHid3 numOutput feedbackType Note if feedbackType is not specified, it will be set to 0 |
void |
setSymmetricActFunction(boolean state)
|
void |
setTolerance(double newVal)
set the error tolerance parameter |
Methods inherited from class com.ibm.able.beans.AbleNetwork |
---|
breakPointReached, clearAllBreakPoints, clearBreakPoint, clearBreakPoint, clearLastBreakPoint, getLastBreakPoint, getNetEpoch, getNetMode, getNetRecInx, getNetStepsPerEpoch, setBreakPoint, setDefaults, setNetMode, setNetStepsPerEpoch, testBreakPoints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String defaultName
Constructor Detail |
public AbleBackPropagation() throws AbleException
public AbleBackPropagation(java.lang.String aName) throws AbleException
public AbleBackPropagation(java.lang.String aName, java.lang.String args) throws AbleException
Method Detail |
public int getNumInputs()
public int getNumHidden1()
public int getNumHidden2()
public int getNumHidden3()
public int getNumOutputs()
public int getNumUnits()
public int getNumWeights1()
public int getNumWeights2()
public int getNumWeights3()
public int getNumWeights4()
public boolean isExplicitErrorMode()
public void setExplicitErrorMode(boolean state)
public boolean isAdaptLearnRate()
public void setAdaptLearnRate(boolean state)
public boolean isEpochUpdate()
public void setEpochUpdate(boolean state)
public boolean isSymmetricActFunction()
public void setSymmetricActFunction(boolean state)
public int getFeedbackType()
public double getDecayFactor()
public void setDecayFactor(double factor)
public double getAvgRMSError()
public double getLastRMSError()
public double getMaxRMSError()
public double getBadPatRatio()
public void setLearnRate(double newVal)
public double getLearnRate()
public void setMomentum(double newVal)
public double getPercentCorrect()
public double getPercentIncorrect()
public double getPercentUnknown()
public double getMomentum()
public void setTolerance(double newVal)
public double getTolerance()
public double getAveRMSError()
public double[] getActivations()
public double[] getWeights1()
public double[] getWeights2()
public double[] getWeights3()
public double[] getWeights4()
public double[] getWgtDeriv1()
public double[] getWgtDeriv2()
public double[] getWgtDeriv3()
public double[] getWgtDeriv4()
public double[] getThreshold()
public double[] getTeach()
public double[] getError()
public java.lang.String getNetArchitecture()
public void reset() throws AbleException
AbleObject
This base method has no default implementation. It only provides tracing.
reset
in class AbleObject
com.ibm.able.AbleObject
AbleException
- If an error occurs.AbleBean.reset()
public void readInputs() throws AbleException
public void process() throws AbleException
AbleObject
This base method implementation provides tracing only.
process
in class AbleObject
com.ibm.able.AbleObject
AbleObject.inputBuffer
,
AbleObject.outputBuffer
,
AbleBean.process()
public void generateTranslateTemplates(AbleFilter filt, AbleFilter outFilt, java.util.Vector fields) throws AbleException
AbleTranslateTemplateProvider
AbleFilter.generateTranslateTemplates(com.ibm.able.beans.filter.AbleFilter, com.ibm.able.beans.filter.AbleFilter, java.util.Vector)
generateTranslateTemplates
in interface AbleTranslateTemplateProvider
com.ibm.able.beans.filter.AbleTranslateTemplateProvider
inFilter
- The AbleFilter used to convert incoming data.outFilter
- The AbleFilter used to convert outgoing data.fields
- A vector of AbleFields from which to derive the translation template.public void endEpoch()
AbleNetwork
endEpoch
in class AbleNetwork
com.ibm.able.beans.AbleNetwork
public void changeNetArchitecture(java.lang.String parms) throws AbleException
AbleNetwork
changeNetArchitecture
in class AbleNetwork
com.ibm.able.beans.AbleNetwork
Architecture
- The new network architecture specification
public void createNetwork(int NumIn, int NumHid1, int NumHid2, int NumHid3, int NumOut, int FeedbackType) throws AbleException
public void setNetArchitecture(java.lang.String arch) throws AbleException
setNetArchitecture
in class AbleNetwork
arch
- A string that defines the network architecturepublic java.util.Vector getNetworkGraphicData()
getNetworkGraphicData
in class AbleNetwork
public static java.lang.String Copyright()
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |