MCPcopy Create free account
hub / github.com/davidandrzej/LogicLDA / multSample

Method multSample

src/main/java/logiclda/MiscUtil.java:123–134  ·  view source on GitHub ↗

Draw a multinomial sample from (un-normalized) vals @param rng @param vals @param normsum @return

(Random rng, double[] vals, double normsum)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

doSGDMethod · 0.95
runLDAMWSMethod · 0.95
fixedPhiSampleMethod · 0.95
groundGibbsSampleMethod · 0.95
logicGibbsSampleMethod · 0.95
gibbsSampleMethod · 0.95
doMWSMethod · 0.95
randomGradientMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected