amazon-sagemaker - A/B Test feature in SageMaker: variant assignment is random?
问题描述
A/B test feature in SageMaker sounds so intriguing but the more I looked into, the more I am confused whether this is a useful feature. For this to be useful, you need to get the variant assignment data back and join with some internal data to figure out the best performing variant.
How is this assignment done? Is it purely random? Or am I supposed to pass some kind of ID (or hashed ID) which can indicate a person or a browser so that the same model is picked up for the same person.
解决方案
For this to be useful, you need to get the variant assignment data back and join with some internal data to figure out the best performing variant.
The InvokeEndpoint response includes the "InvokedProductionVariant", in order to support the kind of analysis you describe. Details can be found in the API documentation: https://docs.aws.amazon.com/sagemaker/latest/dg/API_runtime_InvokeEndpoint.html#API_runtime_InvokeEndpoint_ResponseSyntax
How is this assignment done? Is it purely random?
Traffic is distributed randomly while remaining proportional to the weight of the production variant.
推荐阅读
- r - 合并具有不均匀列的数据框和数据被删除
- python - 在 Python 3.8 中使用大输入输出文件散列单词列表
- python - 如何创建一个正则表达式来查找某些字符集之间的所有文本片段?
- javascript - 如何在 javascript 中将“.then()”和“.catch()”添加到 lambda
- firebase - Firebase.firestore 与 admin.firestore
- javascript - Can't set innerHTML when using strings that start with '<'
- excel - 在 Excel VBA / 宏中删除包含某些字符串的行
- c# - 来自 libvideo 的视频未保存在提到的文件夹中,而是保存在主目录中
- sparql - The mechanism of "FILTER NOT EXISTS" in SPARQL
- kdb - KDB/Q:多个PEACH?