Documentation of 'mikera.randomz.Probabilities' Java class
Probabilities
mikera.randomz

Class Probabilities



  • public class Probabilities
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      Probabilities() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double logProbabilityChance(double lp0, double lp1)
      Calculate chance of lp0 being chosen vs lp1 both expressed in log probabilities
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Probabilities

        public Probabilities()
    • Method Detail

      • logProbabilityChance

        public static double logProbabilityChance(double lp0,
                                                  double lp1)
        Calculate chance of lp0 being chosen vs lp1 both expressed in log probabilities
        Parameters:
        lp0 - log probability of outcome 0
        lp1 - log probability of outcome 1
        Returns:
        Chance of outcome 0 vs. outcome 1

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.