public class HyperbolicTangentThresholdModel extends WeightedThresholdModel implements ThresholdingAlgorithm
k| Constructor and Description |
|---|
HyperbolicTangentThresholdModel(double p_k)
Creates a new tangental function with a given steepness.
|
| Modifier and Type | Method and Description |
|---|---|
double |
differentialValue(Edge[] edges)
The value as run through the differential of the current function.
|
boolean |
validateInput(double input)
Validates input against the applicable range for this thresholding algorithm.
|
double |
value(Edge[] edges)
Calculates Neuron value from all Edges and their source Neurons.
|
getK, setKpublic HyperbolicTangentThresholdModel(double p_k)
p_k - The steepness valuepublic double value(Edge[] edges)
value in interface ThresholdingAlgorithmedges - All of this neuron's edgesThresholdingAlgorithm.value(Edge[])public boolean validateInput(double input)
validateInput in interface ThresholdingAlgorithminput - The value to checkThresholdingAlgorithm.validateInput(double)public double differentialValue(Edge[] edges)
differentialValue in interface ThresholdingAlgorithmedges - All edges going into this neurons