public class WeightedMultiplyNeuralFunction extends NeuralFunction
The weighted product of a set of inputs.
The square root of the product will be computed if configured.
The configuration parameters to the function are as follows:
Weights - a comma-separated string of the weights (mandatory).
Root - a boolean flag indicating to compute the square root, default
is true.
| Modifier and Type | Field and Description |
|---|---|
Boolean |
root |
String |
weights |
disabled, initial, last, linkAlphaComparator, links, linkslist, name, output, parameters, posindex, reset| Constructor and Description |
|---|
WeightedMultiplyNeuralFunction() |
WeightedMultiplyNeuralFunction(List<Parameters> ps) |
| Modifier and Type | Method and Description |
|---|---|
double |
compute() |
void |
init() |
void |
setParameter(String par) |
clearParametersHashMap, close, deactivate, getConfigParameter, getDataString, getExternalControlFunction, getInitial, getName, getOutput, getParameter, getParameter, getParameter, getParameterBoolean, getParameterDouble, getParameterInt, getParameterName, getParameterObject, getParametersSet, getParametersSize, getParametersString, getParameterType, getPosindex, getTime, isDisabled, pause, post, setConfigLinks, setField, setInitial, setLink, setLinks, setName, setOutput, setParameter, setPosindex, stop, verifyConfigurationpublic WeightedMultiplyNeuralFunction()
public WeightedMultiplyNeuralFunction(List<Parameters> ps) throws Exception
Exceptionpublic void init()
throws Exception
init in class BaseNeuralFunctionExceptionpublic double compute()
throws Exception
compute in interface NeuralFunctionInterfacecompute in class NeuralFunctionExceptionpublic void setParameter(String par) throws Exception
setParameter in interface NeuralFunctionInterfacesetParameter in class BaseNeuralFunctionExceptionCopyright © 2017. All rights reserved.