hyper

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cdf

func Cdf(chosenA, chosenB, totalA, totalB int) float64

returns probability of split of o - observed in input , r - observed in validation set O - total items in input, R - total items in validation set using logarithmic gamma function

func ComplementCdf

func ComplementCdf(chosenA, chosenB, totalA, totalB int) float64

returns probability of split of o - observed in input , r - observed in validation set O - total items in input, R - total items in validation set using logarithmic gamma function TODO: limits test

func ComplementCdfApprox

func ComplementCdfApprox(chosenA, chosenB, totalA, totalB int) float64

func ComplementCdfSlow

func ComplementCdfSlow(o, r, O, R int) float64

this is for reference as the code below is quite unreadable, but 2x as fast

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL