查看: 1436| 回复: 7
跳转到指定楼层
上一主题 下一主题
收起左侧

[求大家帮忙解答]一道ML的code exercise

全局:

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

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

x
最近看到了一道面试Data Scientist的编程题,没有思路,请大家来帮帮忙


1.0 INTRODUCTION
The Nash Food & Beverage Company owns and operates a large bottled water treatment facility that is designed to treat an estimated 2.1 Million liters of fresh water daily. The company extracts its water from a Municipal feed and treats it with a two-stage reverse osmosis (RO) membrane treatment process. The treated water must meet stringent product water quality compliance requirements (permeate conductivity 60 μS/cm) and the daily volume of treated water must, at minimum, meet the bottled water demand (1.2 Million liters). Prior to the RO system, the feed water is pretreated with multi-media and activated carbon filters. The company’s corporate mandate is to maximize its product water recovery while minimizing system-wide energy consumption and has commissioned you to provide real-time insight into the trade-off behavior between these two conflicting objectives.
2.0 STUDY AREA MODEL
The control system is powered by Multi-Input Multi-Output (MIMO) Machine Learning (ML) forecasting models that were trained using historical datasets. The datasets are provided in 5-minute resolution.
The models were designed to forecast each assets (i.e. pumps, membranes) key process indicators (i.e. flowrate, pressure, conductivity) for the next hour in the treatment plant. Specifically, a single MIMO model receives a feature space (1 x N) and forecasts the process indicator variable for M timesteps ahead. The target space is thus 1 x M.
For this preliminary investigation, you will focus on a section which involves two predictive models:
Feed Flowrate Model: MIMO ML model that predict the flowrates of feed water entering the system based on seasonal parameters and historical flowrate observations (i.e. the flows at time t+1, t+2, …, t+12 are predicted by a single model as a function of previously recorded flows at time t, t-1, t-2, …, t-36). Note in this case M = 12. In other words, the Feed Flowrate MIMO model predicts the FeedFlowrate 12 timesteps ahead (since each timestep is 5-mins, this represents an hour ahead forecast).
Primary Pressure Model: MIMO ML model that predicts the pressure produced by the pump based on the feed flowrates. Note that this implies that forecasts of the feed model are used as inputs to the pressure model. (M = 12 as well)
3.0 OBJECTIVES
As part of the real-time integration phase, you have been tasked with building a real-time model execution pipeline that will be able to execute the two core models. Specifically, this pipeline will involve developing a python script that will ingest data from a *.csv file from which, it will:
1. Retrieve the required latest chunk of data from the *.csv file
2. Use this data to create a feature space for the feed flow model
3. Execute the feed flow models to forecast feed flowrates for the next hour (12 timesteps) using the provided model file and the single generated feature space (from Step 2).
4. Couple the feed flow forecasts (targets from Step 3) with parameters from the dataset produced in Step 1 to develop the feature space for the primary pressure model.
5. Execute the primary pressure model to forecast primary pressure for the next hour (12 timesteps) using the provided model and the generated feature space (from Step 4)



上一篇:机器学习加油!
下一篇:My team offer AI & BigData Solutions, MSU MS内推, Harverd, IBM intern 内推
🔗
 楼主| ziq_mont 2018-3-27 00:01:36 | 只看该作者
全局:
顶一下……没有人回答吗
回复

使用道具 举报

🔗
lzchu1992 2018-3-29 10:43:45 | 只看该作者
全局:
楼主这是哪里弄来的题啊
回复

使用道具 举报

🔗
 楼主| ziq_mont 2018-3-30 09:37:55 | 只看该作者
全局:
lzchu1992 发表于 2018-3-29 10:43
楼主这是哪里弄来的题啊

某知名startup的……
回复

使用道具 举报

🔗
lzchu1992 2018-3-30 14:44:04 | 只看该作者
全局:
妈呀题都看不懂。。
回复

使用道具 举报

🔗
lzchu1992 2018-3-30 14:44:18 | 只看该作者
全局:
楼主是本科吗
回复

使用道具 举报

🔗
 楼主| ziq_mont 2018-3-31 05:32:56 | 只看该作者
全局:

是本科,大四快毕业了……
回复

使用道具 举报

🔗
lzchu1992 2018-3-31 08:00:11 | 只看该作者
全局:
ziq_mont 发表于 2018-3-31 05:32
是本科,大四快毕业了……

都开始看这么难的题了吗
回复

使用道具 举报

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

本版积分规则

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