public class SigmoidThresholdModel extends WeightedThresholdModel implements ThresholdingAlgorithm
k| Constructor and Description |
|---|
SigmoidThresholdModel(double p_k)
Creates a new thresholding function with the given 'harshness'.
|
| Modifier and Type | Method and Description |
|---|---|
double |
differentialValue(Edge[] edges)
Defined in ThresholdingAlgorithm, returns differential of current value.
|
boolean |
validateInput(double input)
Validates input values.
|
double |
value(Edge[] edges)
Calculates Neuron value from all Edges and their source Neurons.
|
getK, setKpublic SigmoidThresholdModel(double p_k)
p_k - the steepness of the dropoffpublic double value(Edge[] edges)
value in interface ThresholdingAlgorithmedges - All of the edges leading into this neuronpublic boolean validateInput(double input)
validateInput in interface ThresholdingAlgorithminput - The input value to check. This does not have to conform to strict asymptotic rules as edge weights are applied.public double differentialValue(Edge[] edges)
differentialValue in interface ThresholdingAlgorithmedges - All edges connected to the neuron