|
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
This class is the base class for all Neural Network AbleObjects.
Field Summary | |
---|---|
protected double[] |
activations
The activations of each unit in the network |
protected boolean |
breakPointFlag
Indicates whether a breakpoint fired during the last process() |
protected java.util.Vector |
breakPoints
List of breakpoints defined for this object |
double[] |
inNum
The numeric input buffer |
protected AbleBreakPoint |
lastBreakPoint
The last breakpoint that fired |
static java.lang.String[] |
MODE_NAMES
Labels for the train, test and run modes for GUI use. |
protected java.lang.String |
netArchitecture
The network architecture string |
protected long |
netEpoch
The current training epoch |
protected int |
netMode
The network mode, train, test or run |
protected java.lang.String |
netModelType
The type of network model |
protected long |
netRecInx
The current index into the record |
protected long |
netStepsPerEpoch
The number of steps before each weight adjustment |
static int |
NNRUN
Application or Run mode weights are not adjusted output is produced |
static int |
NNTEST
Test mode weights are not adjusted performance is tested (errors are computed) |
static int |
NNTRAIN
Training mode weights are adjusted |
double[] |
outNum
The numeric output buffer |
Fields inherited from class com.ibm.able.AbleObject |
---|
changed, chgSupport, comment, dataFlowEnabled, defaultName, destBufferConnections, eventQueue, fileName, inputBuffer, listeners, logger, name, outputBuffer, parent, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
Constructor Summary | |
---|---|
AbleNetwork()
default constructor |
|
AbleNetwork(java.lang.String aName)
Construct a network with specified name |
|
AbleNetwork(java.lang.String aName,
java.lang.String args)
Construct a network with specified name and architecture. |
Method Summary | |
---|---|
boolean |
breakPointReached()
Check if any breakpoint has fired |
void |
changeNetArchitecture(java.lang.String parms)
Change the network architecture. |
void |
clearAllBreakPoints()
Clear all breakpoint set on this network. |
void |
clearBreakPoint(AbleBreakPoint bp)
Clear the specified breakpoint from this network. |
void |
clearBreakPoint(java.lang.String parm,
java.lang.String cond,
java.lang.String value)
Clear the specified breakpoint from this network. |
void |
clearLastBreakPoint()
Clear the last breakpoint to fire. |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
void |
endEpoch()
Perform the end of epoch processing. |
AbleBreakPoint |
getLastBreakPoint()
Get the last breakpoint to fire. |
long |
getNetEpoch()
|
int |
getNetMode()
Get the current operating mode of the network. |
long |
getNetRecInx()
|
long |
getNetStepsPerEpoch()
|
java.util.Vector |
getNetworkGraphicData()
return data on the network architecture, activations, and weights for display by the AbleNetworkGraphicView custom inspector |
void |
setBreakPoint(java.lang.String parmStr,
java.lang.String cond,
java.lang.String value)
Set a breakpoint on this network. |
protected void |
setDefaults()
Set up the event queue behavior No timer processing and no asynch event processing |
void |
setNetArchitecture(java.lang.String parms)
Set the network architecture. |
void |
setNetMode(int mode)
Set the operating mode of the network. |
void |
setNetStepsPerEpoch(long numSteps)
|
boolean |
testBreakPoints()
Check all active breakpoints to see if any fire. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NNTRAIN
public static final int NNTEST
public static final int NNRUN
public static final java.lang.String[] MODE_NAMES
protected java.util.Vector breakPoints
protected transient AbleBreakPoint lastBreakPoint
protected transient boolean breakPointFlag
protected java.lang.String netModelType
protected java.lang.String netArchitecture
protected int netMode
protected long netEpoch
protected long netRecInx
protected long netStepsPerEpoch
protected double[] activations
public double[] inNum
public double[] outNum
Constructor Detail |
public AbleNetwork() throws AbleException
public AbleNetwork(java.lang.String aName) throws AbleException
Name
- The object name
public AbleNetwork(java.lang.String aName, java.lang.String args) throws AbleException
Name
- The object name
Architecture
- The network architecture specification
Method Detail |
public long getNetEpoch()
public long getNetRecInx()
public long getNetStepsPerEpoch()
public void setNetStepsPerEpoch(long numSteps)
protected void setDefaults() throws AbleException
public void clearAllBreakPoints()
public void clearBreakPoint(java.lang.String parm, java.lang.String cond, java.lang.String value)
Parameter
- The name of the parameter being monitored
Condition
- The test condition
Value
- The value used in the test condition
public void clearBreakPoint(AbleBreakPoint bp)
Breakpoint
- The breakpoint object to remove
public void clearLastBreakPoint()
public void setBreakPoint(java.lang.String parmStr, java.lang.String cond, java.lang.String value)
Parameter
- The name of the parameter to watch
Condition
- The test condition
Value
- The value of the parameter to test against
public boolean testBreakPoints()
public AbleBreakPoint getLastBreakPoint()
public boolean breakPointReached()
public int getNetMode()
public void setNetMode(int mode)
Mode
- The current operating mode, train/test/run
public void setNetArchitecture(java.lang.String parms) throws AbleException
Architecture
- The network architecture specification
public void changeNetArchitecture(java.lang.String parms) throws AbleException
Architecture
- The new network architecture specification
public void endEpoch()
public java.util.Vector getNetworkGraphicData()
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 |