Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Issue 2595263003: [Predator] Making the Y sets conditional for loglinear models (Closed)

Created:
4 years ago by wrengr
Modified:
3 years, 12 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -17 lines) Patch
M appengine/findit/crash/loglinear/model.py View 4 chunks +14 lines, -8 lines 0 comments Download
M appengine/findit/crash/loglinear/test/loglinear_testcase.py View 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/crash/loglinear/test/model_test.py View 2 chunks +2 lines, -2 lines 0 comments Download
M appengine/findit/crash/loglinear/training.py View 2 chunks +11 lines, -5 lines 0 comments Download
M appengine/findit/crash/suspect.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (5 generated)
wrengr
PTAL
4 years ago (2016-12-22 20:24:12 UTC) #3
Sharu Jiang
lgtm
4 years ago (2016-12-23 00:06:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2595263003/20001
3 years, 12 months ago (2016-12-27 17:24:59 UTC) #6
commit-bot: I haz the power
3 years, 12 months ago (2016-12-27 17:34:06 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/infra/infra/+/49e6c276ef9428af115e0cbd7e77e...

Powered by Google App Engine
This is Rietveld 408576698