public class LimitBandedNeuralFunction extends NeuralFunction
Output limited to configured values.
Depending on whether the input is above or below a threshold, in a banded range, the output will be set to one of two provided values.
The configuration parameters to the function are as follows:
Threshold - a threshold value (type Double). Mandatory.
Upper - the output value if the input is > the threshold plus the bandwidth (type Double). Mandatory.
Lower - the output value if the input is < the threshold minus the bandwidth (type Double). Mandatory.
BandWidth - the width of the threshold range (type Double). Mandatory.
BandValue - the output value if the input is within the banded range (type Double). Mandatory.
| Modifier and Type | Field and Description |
|---|---|
Double |
bandvalue |
Double |
bandwidth |
int |
counteridle |
Double |
lower |
Double |
threshold |
Double |
upper |
disabled, initial, last, linkAlphaComparator, links, linkslist, name, output, parameters, posindex, reset| Constructor and Description |
|---|
LimitBandedNeuralFunction() |
LimitBandedNeuralFunction(List<Parameters> ps) |
| Modifier and Type | Method and Description |
|---|---|
double |
compute() |
clearParametersHashMap, close, deactivate, getConfigParameter, getDataString, getExternalControlFunction, getInitial, getName, getOutput, getParameter, getParameter, getParameter, getParameterBoolean, getParameterDouble, getParameterInt, getParameterName, getParameterObject, getParametersSet, getParametersSize, getParametersString, getParameterType, getPosindex, getTime, init, isDisabled, pause, post, setConfigLinks, setField, setInitial, setLink, setLinks, setName, setOutput, setParameter, setParameter, setPosindex, stop, verifyConfigurationpublic Double threshold
public Double upper
public Double lower
public Double bandwidth
public Double bandvalue
public int counteridle
public LimitBandedNeuralFunction()
public LimitBandedNeuralFunction(List<Parameters> ps) throws Exception
Exceptionpublic double compute()
compute in interface NeuralFunctionInterfacecompute in class NeuralFunctionCopyright © 2017. All rights reserved.