predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pat Ferrel <>
Subject Re: A/B test on recommendation engine
Date Sat, 17 Dec 2016 17:26:02 GMT
What template are you using? The results are usually formatted in Engine.scala like the Universal
Recommender here:
I think you can just add a string ID to each template that tells the version that returns
results. This seems a bit heavy handed but if it’s the only thing you can do—so be it.

On Dec 17, 2016, at 8:00 AM, Lin Amy <> wrote:

Because there will be a load-balancer, so I would like to modify the Serving results.
I'll try to figure it out, thanks!

Best regards,

Pat Ferrel < <>> 於 2016年12月17日
週六 上午5:59寫道:
Amy asked: "is there any way to modify the http response for query? (So that I can track the
query result)"

What do you want to modify? You know which one you queried from the port number. The longer
answer is that to modify the result or the response body you will need to modify the template
you are using.

On Dec 16, 2016, at 7:07 AM, Lin Amy < <>>

Hello everyone,

I want to do some A/B test on the algorithm, and have found the following method:
Run two engines in parallel (with different port of course), with the same appid.

However, I want to use some load balance to redirect the traffic from clients to the engines,
and also tracking the recommendation algorithm (in order to analyse the result). And here
the question comes: is there any way to modify the http response for query? (So that I can
track the query result)

Thank you for any advice!

Best regards,

View raw message