代做IERG 4080、代写Python程序语言
IERG 4080 Assignment 4 (Mini Project)
Individual project: each student should work on his/her own project
Deadline: 23:59, 12 May 2024 (Sunday)
15% of the final grade
Overview
In this mini project, you will deploy a machine learning application to AWS cloud service utilizing what you
have learnt in this course. You are free to choose a topic and a machine learning task (or work on Assignment
3) in which you are interested.
The machine learning task does not have to be a very complicated one. The focus of this project should be on
how the system is designed such that it is scalable.
Your system should be implemented using Python 3, and deployed in AWS cloud (within the AWS Academy
to avoid charges). You are free to use any open source packages or libraries in your project.
If you have used AI tools or online resources, please make a explicit declaration in the front page of the
report.
Requirements
Your project should implement the following kinds of features/functions:
Machine Learning
Your application should be powered by a machine learning model
You can collect data and train a model for the task all by yourself
You can also use existing pre-trained models available on the Internet, or even packages that
implement specific machine learning applications
You should provide functions in addition to simply applying the model to the user's input, such
as allowing the user to retrieve the most recent predictions, or configure some settings to choose
different models
Network programming
Using HTTP, or asynchronous messaging to implement clients and servers
HTTP: Your service should be accessible with a URL, e.g., the HTTP part in Assignment 3
Concurrent programming
Using multi-threading, multi-processing or asyncio to achieve concurrent execution of tasks
System design
Consider which part(s) of the system is the bottleneck
Design your system in such a way that it allows horizontal scaling
Ideally, you should setup the AWS Auto Scaling Group and Load Balancing
Your system should be able to support multiple concurrent users
Use either asynchronous message queues, pub/sub systems, or caches to increase the
throughput and scalability of your system
Robustness
You should prevent the application from crashing by validating inputs and catch possible
exceptions wherever necessary
User Interface
You can use Telegram as your frontend (recommended), or you can develop your own interface
using Python, or create a Web-based application
Testing
You shall use some load testing tools to benchmark your applications, e.g., Apache Bench,
jMeter, Postman, ...
Ideally, you shall run a first benchmark after your first successfuly deployment. Record the
improvements after you extend your system.
Note
You will be invited to AWS Academy Learner Lab. From there, you have $100 credits and 4 hours lab
time for each session (can be resumed). Remember to always test on your local PC, and keep a backup
of your code in your PC or cloud storages like Github or OneDrive.
The first challenging part would be deploying it to the cloud (you need to recall how to use ssh, scp,
and related Linux techniques). The second challenging part is setting up auto scaling in AWS.
Assessment Scheme
Your project will be assessed using the criteria listed below:
20% - Machine learning
20% - Network programming
20% - Concurrent programming
20% - System design and complexity
10% - Robustness
10% - User Interface
Other Topics
Below are some possible topics for reference:
Language detection
Allow user to type in a sentence in a certain language, the system will detect which language the
sentence is written in
Gender and age prediction
Take a photo of a person, and predict the gender and age of the person
News classification
Given a URL to a news article, the system will classify the news article into one of the major
categories (e.g. sports, finance, technology, science, etc.)
Audio to Text
Let the user record a voice message in Telegram, the system will translate the audio into text
Recommendation
Allow users to rate items and the system will recommend new items to the users, e.g., movies,
books, articles
...
References and Resources
Pre-trained Machine Learning Models
https://huggingface.co/
https://www.kaggle.com/models
https://modelzoo.co/
Programming Big Data System
IERG4330 (K8s, Kafka, Spark, Hadoop)
Some guides available online
Deploying a flask application on an AWS EC2 instance
Submission
You should submit the following files to Blackboard:
A README file containing brief description of each Python script, the dependencies (i.e. open source
packages or libraries you have used), and instructions on how to run your programs
All source codes
Data files (if the data is larger than 10MB, upload to cloud storage and include links in the README
file)
A report in PDF format with the following information:
Functions/features of your system
e.g., the APIs, endpoints that receive user requests, and the backend workers/process.
Description of your machine learning task (e.g. where did you get the data, what ML algorithm
did you use, what is the performance of your model)
A diagram of the system architecture
Description of how your system is designed to be scalable
with Load/Stress testing result
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- 新疆维吾尔自治区卫健委领导莅临神州医疗大兴产品研发及产业化基地调研指导
- Instagram营销软件,ins打粉接粉教程/ig群发助手/联系大轩测试
- 海尔生物医疗发布生命科学战略——向深而行 撬动产业高质量发展
- instagram营销软件,ins群发拉群,天宇爆粉神器欢迎预约测试
- Ins协议群发+引流新招!Instagram出海推广软件一键搞定!
- 通过LINE工具的巧妙应用,她成功解决了群发受限的问题,实现了业务的群发新境界!
- 海尔生物医疗生命科学战略发布后,全场景数智化方案亮相2024CMEF
- 谷器数据入选滨海新区中小企业数字化转型城市试点数字化服务商名单
- Instagram群发脚本助手,Ins群发注册工具,助你实现营销目标!
- 电报/TG群发神器推荐, Telegram营销软件,TG群发助手
- Instagram群发筛选软件,Ins群发注册工具,助你轻松推广!
- 威尔特(广州)流体 - MR V服务体系分析
- 全球营销的风向标 海外营销高手都在用的秘密兵器 就是WhatsApp拉群工具
- Instagram营销软件,ins自动私信工具推荐/ig最强引流工具
- x增长的秘诀:LINE工具,数字化引擎的无敌之选!
- WhatsApp源头机房出售协议号,ws群发必备工具推荐
- 业务博主经验分享:WhatsApp拉群营销工具究竟是如何助力业务成功的
- 数字迷境大揭秘:科技魔法师的Telegram协议号营销工具,引发好奇的科技探秘
- 海外营销:"WhatsApp筛选器" 最好选择
- WhatsApp拉群营销工具 在国际市场打造你的事业传奇
推荐
- 升级的脉脉,正在以招聘业务铺开商业化版图 长久以来,求职信息流不对称、单向的信息传递 科技
- 老杨第一次再度抓握住一瓶水,他由此产生了新的憧憬 瘫痪十四年后,老杨第一次再度抓握住一瓶水,他 科技
- 创意驱动增长,Adobe护城河够深吗? Adobe通过其Creative Cloud订阅捆绑包具有 科技
- 全力打造中国“创业之都”名片,第十届中国创业者大会将在郑州召开 北京创业科创科技中心主办的第十届中国创业 科技
- 疫情期间 这个品牌实现了疯狂扩张 记得第一次喝瑞幸,还是2017年底去北京出差的 科技
- B站更新决策机构名单:共有 29 名掌权管理者,包括陈睿、徐逸、李旎、樊欣等人 1 月 15 日消息,据界面新闻,B站上周发布内部 科技
- 苹果罕见大降价,华为的压力给到了? 1、苹果官网罕见大降价冲上热搜。原因是苹 科技
- 丰田章男称未来依然需要内燃机 已经启动电动机新项目 尽管电动车在全球范围内持续崛起,但丰田章男 科技
- 智慧驱动 共创未来| 东芝硬盘创新数据存储技术 为期三天的第五届中国(昆明)南亚社会公共安 科技
- 如何经营一家好企业,需要具备什么要素特点 我们大多数人刚开始创办一家企业都遇到经营 科技