16 lines
328 B
C#
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));
|
|
}
|
|
}
|
|
}
|