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

16 lines
328 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BotSharp.Algorithm.HiddenMarkovModel.MathUtils.SpecialFunctions
{
public class LogitFunction
{
public static double GetLogit(double p)
{
return System.Math.Log(p / (1 - p));
}
}
}