BotSharp/BotSharp.Algorithm/HiddenMarkovModel/MathUtils/SpecialFunctions/InverseLogitFunction.cs
2018-09-17 07:31:54 -05:00

16 lines
351 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BotSharp.Algorithm.HiddenMarkovModel.MathUtils.SpecialFunctions
{
public class InverseLogitFunction
{
public static double GetInvLogit(double alpha)
{
return 1.0 / (1.0 + System.Math.Exp(-alpha));
}
}
}