|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.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, properties, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
| Constructor Summary | |
|---|---|
AbleNetwork()
default constructor |
|
AbleNetwork(java.lang.String name)
Construct a network with specified name |
|
AbleNetwork(java.lang.String name,
java.lang.String architecture)
Construct a network with specified name and architecture. |
|
| Method Summary | |
|---|---|
boolean |
breakPointReached()
Check if any breakpoint has fired |
void |
changeNetArchitecture(java.lang.String architecture)
Change the network architecture. |
void |
clearAllBreakPoints()
Clear all breakpoint set on this network. |
void |
clearBreakPoint(AbleBreakPoint breakpoint)
Clear the specified breakpoint from this network. |
void |
clearBreakPoint(java.lang.String parameter,
java.lang.String condition,
java.lang.String value)
Clear the specified breakpoint from this network. |
void |
clearLastBreakPoint()
Clear the last breakpoint to fire. |
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 parameter,
java.lang.String condition,
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 architecture)
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 name)
throws AbleException
name - The object name
public AbleNetwork(java.lang.String name,
java.lang.String architecture)
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
AbleExceptionpublic void clearAllBreakPoints()
public void clearBreakPoint(java.lang.String parameter,
java.lang.String condition,
java.lang.String value)
parameter - The name of the parameter being monitored
condition - The test condition
value - The value used in the test conditionpublic void clearBreakPoint(AbleBreakPoint breakpoint)
breakpoint - The breakpoint object to removepublic void clearLastBreakPoint()
public void setBreakPoint(java.lang.String parameter,
java.lang.String condition,
java.lang.String value)
parameter - The name of the parameter to watch
condition - The test condition
value - The value of the parameter to test againstpublic 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 architecture)
throws AbleException
architecture - The network architecture specification.
AbleException
public void changeNetArchitecture(java.lang.String architecture)
throws AbleException
architecture - The new network architecture specification
AbleExceptionpublic void endEpoch()
public java.util.Vector getNetworkGraphicData()
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||