Chromium Code Reviews
Description[Predator] Making the Y sets conditional for loglinear models
Because we adjusted things so that features return -inf whenever they want
to ensure that a given Y/Suspect is never blamed, we can improve things
so that we only need to iterate over the subset of Y/Suspect which does
not have -inf scores (i.e., does not have zero probability). This CL makes
that change: the (normalized) LogLinearModel and TrainableLogLinearModel
now take a function X -> iterable(Y) where all y with non-zero probability
are in the iterable; as opposed to the old iterable(Y) that enumerates
all possible Y.
BUG=
TBR=stgao@chromium.org
Review-Url: https://codereview.chromium.org/2595263003
Committed: https://chromium.googlesource.com/infra/infra/+/49e6c276ef9428af115e0cbd7e77e9a4d2b0d633
Patch Set 1 #Patch Set 2 : minor clarification in crash/suspect.py #
Messages
Total messages: 9 (5 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||