Accord.Statistics.Links.ThresholdLinkFunction.Log C# (CSharp) Method

Log() public method

The logarithm of the inverse of the link function.
public Log ( double x ) : double
x double A transformed value.
return double
        public double Log(double x)
        {
            return (x > Threshold) ? Math.Log(+1) : Math.Log(-1);
        }