ABLE, Version 1.1b

com.ibm.able.beans
Class AbleRadialBasisFunctionNet

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.ibm.able.AbleObject
                          |
                          +--com.ibm.able.beans.AbleNetwork
                                |
                                +--com.ibm.able.beans.AbleRadialBasisFunctionNet

public class AbleRadialBasisFunctionNet
extends AbleNetwork
implements java.io.Serializable

See Also:
Serialized Form

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
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
AbleRadialBasisFunctionNet()
          default constructor
AbleRadialBasisFunctionNet(java.lang.String aName)
          default constrcutor with a name
AbleRadialBasisFunctionNet(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)
           
 void createNetwork(int NumIn, int NumHid, int NumOut)
          create a Radial Basis Function network with the specified architecture
 void endEpoch()
           
 double[] getActivations()
           
 double getAllWidths()
           
 boolean getAutoCenter()
           
 double getAveRMSError()
          return the average RMS error
 double getAvgRMSError()
           
 double getBadPatRatio()
           
 int getBasisFunction()
           
 double[] getCenters()
           
 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 getNumCenters()
           
 int getNumHidden()
           
 int getNumInputs()
           
 int getNumOutputs()
           
 int getNumUnits()
           
 int getNumWeights()
           
 double getPercentCorrect()
           
 double getPercentIncorrect()
           
 double getPercentUnknown()
           
 double[] getTeach()
           
 double[] getThreshold()
           
 double getTolerance()
          return the error tolerance parameter
 boolean getTrainingKMapNet()
           
 double[] getWeights()
           
 double[] getWgtDeriv()
           
 int getWinner()
           
 double getWinnerAct()
           
 boolean isAdaptLearnRate()
           
 boolean isEpochUpdate()
           
 boolean isExplicitErrorMode()
           
 boolean isNormalized()
           
 boolean isSymmetricActFunction()
           
 void process()
           
 void readInputs()
          move data from the train/test set into the network input units and the teach array
 void reset()
           
 void setAdaptLearnRate(boolean state)
           
 void setAllWidths(double wid)
           
 void setAutoCenter(boolean state)
           
 void setBasisFunction(int fun)
           
 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 setNormalized(boolean state)
           
 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, init, setBreakPoint, setNetMode, setNetStepsPerEpoch, testBreakPoints
 
Methods inherited from class com.ibm.able.AbleObject
addAbleEventListener, addDestBufferConnection, addPropertyChangeListener, addPropertyConnection, addSourceBufferConnection, addStateChangeListener, Copyright, dataChanged, firePropertyChange, flushAbleEventQueue, getAbleEventListeners, getAbleEventProcessingEnabled, getAbleEventQueueSize, getBuffer, getBufferContents, getComment, getDestBufferConnections, getFileName, getInputBuffer, getInputBuffer, getInputBufferAsStringArray, getInputBufferContents, getLogger, getName, getOutputBuffer, getOutputBuffer, getOutputBufferAsStringArray, getOutputBufferContents, getParent, getPropertyConnectionManager, getSleepTime, getSourceBufferConnections, getState, handleAbleEvent, hasInputBuffer, hasOutputBuffer, init, isAbleEventPostingEnabled, isAbleEventProcessingEnabled, isChanged, isConnectable, isDataFlowEnabled, isTimerEventProcessingEnabled, notifyAbleEventListeners, processAbleEvent, processBufferConnections, processNoEventProcessingEnabledSituation, processTimerEvent, propertyChange, quitAll, quitEnabledEventProcessing, removeAbleEventListener, removeAllAbleEventListeners, removeAllBufferConnections, removeAllPropertyConnections, removeDestBufferConnection, removePropertyChangeListener, removePropertyConnection, removeSourceBufferConnection, removeStateChangeListener, restartEnabledEventProcessing, restoreFromFile, restoreFromFile, restoreFromSerializedFile, restoreFromStream, resumeAll, resumeEnabledEventProcessing, saveToFile, saveToFile, setAbleEventProcessingEnabled, setChanged, setComment, setDataFlowEnabled, setFileName, setInputBuffer, setInputBuffer, setLogger, setName, setOutputBuffer, setOutputBuffer, setParent, setSleepTime, setState, setTimerEventProcessingEnabled, sourceConnectionsOK, startEnabledEventProcessing, suspendAll, suspendEnabledEventProcessing, toString
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbleRadialBasisFunctionNet

public AbleRadialBasisFunctionNet()
                           throws java.rmi.RemoteException
default constructor

AbleRadialBasisFunctionNet

public AbleRadialBasisFunctionNet(java.lang.String aName)
                           throws java.rmi.RemoteException
default constrcutor with a name

AbleRadialBasisFunctionNet

public AbleRadialBasisFunctionNet(java.lang.String aName,
                                  java.lang.String args)
                           throws java.rmi.RemoteException
construct a back prop network with specified name and architecture
Method Detail

getNumInputs

public int getNumInputs()

getNumHidden

public int getNumHidden()

getNumOutputs

public int getNumOutputs()

getNumUnits

public int getNumUnits()

getNumWeights

public int getNumWeights()

getNumCenters

public int getNumCenters()

isExplicitErrorMode

public boolean isExplicitErrorMode()

setExplicitErrorMode

public void setExplicitErrorMode(boolean state)

isAdaptLearnRate

public boolean isAdaptLearnRate()

setAdaptLearnRate

public void setAdaptLearnRate(boolean state)

isEpochUpdate

public boolean isEpochUpdate()

setEpochUpdate

public void setEpochUpdate(boolean state)

isSymmetricActFunction

public boolean isSymmetricActFunction()

setSymmetricActFunction

public void setSymmetricActFunction(boolean state)

getFeedbackType

public int getFeedbackType()

getDecayFactor

public double getDecayFactor()

setDecayFactor

public void setDecayFactor(double factor)

getAvgRMSError

public double getAvgRMSError()

getLastRMSError

public double getLastRMSError()

getMaxRMSError

public double getMaxRMSError()

getBadPatRatio

public double getBadPatRatio()

setLearnRate

public void setLearnRate(double newVal)
set the learn rate parameter

getLearnRate

public double getLearnRate()
return the learn rate parameter

setMomentum

public void setMomentum(double newVal)
set the momentum parameter

getPercentCorrect

public double getPercentCorrect()

getPercentIncorrect

public double getPercentIncorrect()

getPercentUnknown

public double getPercentUnknown()

getMomentum

public double getMomentum()
return the momentum parameter

setTolerance

public void setTolerance(double newVal)
set the error tolerance parameter

getTolerance

public double getTolerance()
return the error tolerance parameter

getAveRMSError

public double getAveRMSError()
return the average RMS error

getActivations

public double[] getActivations()

getWeights

public double[] getWeights()

getCenters

public double[] getCenters()

getWgtDeriv

public double[] getWgtDeriv()

getThreshold

public double[] getThreshold()

getTeach

public double[] getTeach()

getError

public double[] getError()

setBasisFunction

public void setBasisFunction(int fun)

getBasisFunction

public int getBasisFunction()

getAllWidths

public double getAllWidths()

setAllWidths

public void setAllWidths(double wid)

setNormalized

public void setNormalized(boolean state)

isNormalized

public boolean isNormalized()

setAutoCenter

public void setAutoCenter(boolean state)

getAutoCenter

public boolean getAutoCenter()

getWinner

public int getWinner()

getWinnerAct

public double getWinnerAct()

getTrainingKMapNet

public boolean getTrainingKMapNet()

getNetArchitecture

public java.lang.String getNetArchitecture()
get the network architecture as specified by the user

reset

public void reset()
           throws java.rmi.RemoteException
Overrides:
reset in class AbleObject

readInputs

public void readInputs()
                throws java.rmi.RemoteException
move data from the train/test set into the network input units and the teach array

process

public void process()
             throws java.rmi.RemoteException
Overrides:
process in class AbleObject

endEpoch

public void endEpoch()
Overrides:
endEpoch in class AbleNetwork

changeNetArchitecture

public void changeNetArchitecture(java.lang.String parms)
                           throws java.rmi.RemoteException
Overrides:
changeNetArchitecture in class AbleNetwork

createNetwork

public void createNetwork(int NumIn,
                          int NumHid,
                          int NumOut)
                   throws java.rmi.RemoteException
create a Radial Basis Function network with the specified architecture

setNetArchitecture

public void setNetArchitecture(java.lang.String arch)
                        throws java.rmi.RemoteException
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
Parameters:
arch - A string that defines the network architecture
Overrides:
setNetArchitecture in class AbleNetwork

getNetworkGraphicData

public java.util.Vector getNetworkGraphicData()
return data on the network architecture, activations, and weights for display by the AbleNetworkGraphicView custom inspector
Returns:
a Vector containing 3 elements, a) an int[] containing num units per layer b) a double[] array containing network activations, c) a Vector containing N weights arrays.
Overrides:
getNetworkGraphicData in class AbleNetwork

ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'