<
回复: 0
收起左侧

BARD and CHATGPT solving DS brainteaser

本楼:   👍  0
0%
100%
1   👎
全局:   2
50%
50%
2

2023(4-6月) 分析|数据科学类 硕士 全职@startup - 网上海投 - HR筛选  | 😃 Positive 😐 AverageOther | 其他

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
QUESTION
Consider this hypothetical: A trader has discovered a source of 1000 unique types of stamps which she can buy in bulk and then sell to a network of 100 merchants through an intermediary. No matter what type of stamp, she pays $1 for each stamp. Each day, she can sell up to 100 bags of stamps (each bag containing one or more different stamps, with no limit on how many stamps can be in each bag), and she is paid the next day. Unfortunately, the intermediary hides the prices of the individual stamps, and only tells the trader the per-bag price. In order to consistently turn a profit at a reasonable margin, it would be helpful to know which of the 1000 types of stamps are the most valuable, so she could sell bags with only the most valuable stamps. Given 7 days to evaluate 1000 types of stamps using 100 bags/day max, how does she figure out which types of stamps are the most valuable? Please describe two possible approaches, in brief.
(1) CHATGPT
One possible approach would be for the trader to randomly select a subset of stamps from the 1000 types and create bags to sell to the merchants. After the intermediary provides the per-bag price for each day's sales, the trader can then use this information to calculate the approximate value of each stamp in the subset. By repeating this process with different subsets of stamps each day, the trader can gradually build up a dataset of stamp values that can be used to identify the most valuable types.

Another possible approach would be for the trader to use clustering algorithms to group similar stamps together based on their visual characteristics, such as color, design, and age. Once the stamps have been clustered, the trader can then create bags that
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限查看其他获取积分的方式
t to identify which stamps are above and below the average. The stamps that are above the average are likely to be the most valuable.

The trader can then use this information to select the stamps that she wants to sell in bags. She can continue to collect data and refine her approach over time.
. Χ
It is important to note that both of these approaches are just starting points. The trader will need to experiment and find an approach that works best for her.

PLEASE VOTE WHICH ANSWER IS BETTER

上一篇:Uber DS 电面二面面经 【挂】
下一篇:doordash fraud takehome
您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

Advertisement
>
快速回复 返回顶部 返回列表