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

Issue 2358983003: Making UserClassifier configurable by variation parameters (Closed)

Created:
4 years, 3 months ago by jkrcal
Modified:
4 years, 3 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Making UserClassifier configurable by variation parameters Previously, UserClassifier had hard coded constants for computing the metrics and for classifying users. After this CL, all the parameters can be specified using variations service. BUG=648253 Committed: https://crrev.com/859d31b65c751bdf2fd1a319c63de533493b26b6 Cr-Commit-Position: refs/heads/master@{#420347}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Marc's comments #

Total comments: 6

Patch Set 3 : Marc's comments #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -29 lines) Patch
M components/ntp_snippets/user_classifier.h View 1 2 chunks +9 lines, -1 line 0 comments Download
M components/ntp_snippets/user_classifier.cc View 1 2 11 chunks +105 lines, -28 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
jkrcal
Marc, PTAL!
4 years, 3 months ago (2016-09-22 12:00:03 UTC) #2
Marc Treib
https://codereview.chromium.org/2358983003/diff/1/components/ntp_snippets/user_classifier.cc File components/ntp_snippets/user_classifier.cc (right): https://codereview.chromium.org/2358983003/diff/1/components/ntp_snippets/user_classifier.cc#newcode35 components/ntp_snippets/user_classifier.cc:35: "user_classifier_max_hours"; fits on the previous line https://codereview.chromium.org/2358983003/diff/1/components/ntp_snippets/user_classifier.cc#newcode42 components/ntp_snippets/user_classifier.cc:42: "user_classifier_min_hours"; ...
4 years, 3 months ago (2016-09-22 12:29:06 UTC) #3
jkrcal
Thanks! PTAL, again. https://codereview.chromium.org/2358983003/diff/1/components/ntp_snippets/user_classifier.cc File components/ntp_snippets/user_classifier.cc (right): https://codereview.chromium.org/2358983003/diff/1/components/ntp_snippets/user_classifier.cc#newcode35 components/ntp_snippets/user_classifier.cc:35: "user_classifier_max_hours"; On 2016/09/22 12:29:05, Marc Treib ...
4 years, 3 months ago (2016-09-22 13:26:15 UTC) #5
jkrcal
On 2016/09/22 13:26:15, jkrcal wrote: > Thanks! PTAL, again. > > https://codereview.chromium.org/2358983003/diff/1/components/ntp_snippets/user_classifier.cc > File components/ntp_snippets/user_classifier.cc ...
4 years, 3 months ago (2016-09-22 13:27:02 UTC) #6
Marc Treib
lgtm https://codereview.chromium.org/2358983003/diff/20001/components/ntp_snippets/user_classifier.cc File components/ntp_snippets/user_classifier.cc (right): https://codereview.chromium.org/2358983003/diff/20001/components/ntp_snippets/user_classifier.cc#newcode113 components/ntp_snippets/user_classifier.cc:113: discount_factor_per_day = kDiscountFactorPerDay; I guess this should be ...
4 years, 3 months ago (2016-09-22 13:36:09 UTC) #7
jkrcal
Thanks! https://codereview.chromium.org/2358983003/diff/20001/components/ntp_snippets/user_classifier.cc File components/ntp_snippets/user_classifier.cc (right): https://codereview.chromium.org/2358983003/diff/20001/components/ntp_snippets/user_classifier.cc#newcode113 components/ntp_snippets/user_classifier.cc:113: discount_factor_per_day = kDiscountFactorPerDay; On 2016/09/22 13:36:09, Marc Treib ...
4 years, 3 months ago (2016-09-22 14:03:20 UTC) #8
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/2358983003/40001
4 years, 3 months ago (2016-09-22 15:17:14 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-22 15:22:10 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 15:24:13 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/859d31b65c751bdf2fd1a319c63de533493b26b6
Cr-Commit-Position: refs/heads/master@{#420347}

Powered by Google App Engine
This is Rietveld 408576698