Discover Packages
github.com/egonelbre/spexs2
stats
hyper
package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Jul 12, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Cdf(chosenA, chosenB, totalA, totalB)
ComplementCdf(chosenA, chosenB, totalA, totalB)
ComplementCdfApprox(chosenA, chosenB, totalA, totalB)
ComplementCdfSlow(o, r, O, R)
Types
Source Files
Documentation
Documentation
¶
func Cdf(chosenA, chosenB, totalA, totalB int) float64
func ComplementCdf(chosenA, chosenB, totalA, totalB int) float64
func ComplementCdfApprox(chosenA, chosenB, totalA, totalB int) float64
func ComplementCdfSlow(o, r, O, R int) float64
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(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(chosenA, chosenB, totalA, totalB int ) float64
this is for reference
as the code below is quite unreadable, but 2x as fast
Source Files
¶
Click to show internal directories.
Click to hide internal directories.