https://eugeneyan.com/rss 09月30日 19:15
CS7641机器学习课程回顾与经验分享
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

作者回顾了在阿里巴巴杭州分部工作期间,利用圣诞假期分享的CS7641机器学习课程学习体验。课程从算法参数和有效性分析角度重新审视了机器学习基础,并介绍了随机优化和强化学习等新领域。课程包含每周2-3小时讲座,四位助教轮流授课,四份作业(覆盖监督学习、无监督学习、随机优化和强化学习),两场考试。作者认为课程难度较大,但通过深度理解材料能获得显著提升,并建议尽早开始作业。课程加深了对算法工作原理和有效性的理解,作者计划将所学应用于工作并选修强化学习课程。

📚 课程从算法参数和有效性分析角度重新审视了机器学习基础,并介绍了随机优化和强化学习等新领域,为作者提供了不同视角的学习机会。

🧮 课程难度较大,包含每周2-3小时讲座,四位助教轮流授课,四份作业(覆盖监督学习、无监督学习、随机优化和强化学习),两场考试,要求学生投入大量时间和精力。

📈 作者通过深度理解材料获得了显著提升,认为只要坚持过完期中考试,就有机会获得通过,并建议尽早开始作业,因为作业占最终成绩的50%。

🔍 课程加深了对算法工作原理和有效性的理解,作者计划将所学应用于工作并选修强化学习课程,以进一步强化学习效果和实际应用能力。

🤖 作者特别提到强化学习部分,对其时间特性以及探索(exploration)与利用(exploitation)阶段的学习过程表示个人喜爱。

You might also be interested in this OMSCS FAQ I wrote after graduation. Or view all OMSCS related writing here: omscs.

I haven’t had time to write the past few months because I was away in Hangzhou to collaborate and integrate with Alibaba. The intense 9-9-6 work schedule (9am - 9pm, 6 days a week) and time-consuming OMSCS Machine Learning class (CS7641) left little personal time to write.

Thankfully, CS7641 has ended, and the Christmas holidays provide a lull to share my thoughts on it.

Why take this class?

Why take another machine learning course? How will it add to my experience in applying machine learning on real world problems?

Truth be told, I am victim to imposter syndrome. Most of my machine learning knowledge and skills are self-taught, based on excellent MOOCs including those by Andrew Ng and Trevor Hastie and Rob Tibshirani. CS7641 provided an opportunity to re-visit the fundamentals from a different perspective (focusing more on algorithm parameter and effectiveness analysis).

Impact of the C parameter on SVM's decision boundary

Additionally, CS7641 covers less familiar aspects of machine learning such as randomised optimisation and reinforcement learning. These two topics were covered at an introductory, survey level, and provided sufficient depth to understand how these algorithms work, and how to apply them effectively and analyse outcomehttps://eugeneyan.com/assets/random-optimization.webpdom-optimization.webp" title="Effectiveness of randomised optimisation algorithms on the travelling salesman problem (randomised hill climbing, simulated annealing, genetic algorithm, MIMIC)" loading="lazy" alt="Effectiveness of randomised optimisation algorithms on the travelling salesman problem (randomised hill climbing, simulated annealing, genetic algorithm, MIMIC)">

Effectiveness of randomised optimisation algorithms on the travelling salesman problem (randomised hill climbing, simulated annealing, genetic algorithm, MIMIC)

What’s the class like?

There are 2 - 3 hours of lectures weekly, largely consisting of Charles Isbell and Micheal Littman taking turns to “teach” each other various machine learning topics. Lectures are interspersed with occasional jokes and word puns, keeping them humorous (if you’re a geek like me).

There are four assignments covering: (i) supervised learning, (ii) unsupervised learning and dimensionality reduction, (iii) randomised optimisation, and (iv) reinforcement learning. Peers complained about the lack of clarity on assignment requirements. Those without machine learning background felt they were thrown into the deep end and had no inkling how to start. Expectedly, assignment grades averaged around 40 - 60, though it improved slightly with each assignment. Assignments made up 50% of the overall grade. Expect to spend 40 - 60 hours per assignment.

Exam-wise, there is a mid-term and a (non-cumulative) final, each 25% of overall grade. These were difficult and required one to have an in-depth and intuitive understanding of the material to do well. The median for the mid-term was 51 and 59 for the final. We had 90 minutes for the mid-term (which was barely sufficient) and 180 minutes (and fewer questions) for the final—most people finished the final early.

Across previous semesters, about 40% of students dropped out. Of the remaining, about 60% received an A, while most of the rest received a B. If you’re planning to take CS7641, persevere past the mid-term and you should receive a passing grade. Assignments are 50% of the overall grade—start on them early to do well. They require more research, analysis, visualisations, and writing than a regular paper. Assignments focused more on demonstrating understanding and in-depth analysis of algorithm effectiveness, and less on coding up algorithms from scratch.

What did I learnt?

For supervised and unsupervised learning, I gained deeper fundamental understanding of how each type of algorithm worked. This included why each performed better on different datasets, why some overfit less, why some require more data, etc. Much of the learning came from visualising algorithm effectiveness across varying amounts of data, parameters, types of problems, etc. I gained increased rigour in analysing algorithm effectiveness, and how to thoughtfully apply different algorithms to different problems.

CS7641 also provided good exposure to randomised optimisation and reinforcement learning techniques. These were new to me and the class provided sufficient depth to determine whether to invest additional time on them. Personally, I enjoyed reinforcement learning, its temporal nature, and how learns on new data points in the “exploration” (vshttps://eugeneyan.com/assets/reinforcement-learning.webpg src="/assets/reinforcement-learning.webp" title="Effectiveness of reinforcement learning algorithms on a simple grid world" alt="Effectiveness of reinforcement learning algorithms on a simple grid world" loading="lazy">

Effectiveness of reinforcement learning algorithms on a simple grid world

What’s next?

With the increased rigour gained in analysing algorithm effectiveness, I aim to apply it to my work in Lazada, to do more analysis and gain greater intuition on algorithm outcomes. I will also share the knowledge gained, to help the team improve on their understanding and analysis on algorithm effectiveness.

In addition, I aim to reinforce my learning on reinforcement learning (haha), and take the reinforcement learning class (CS7641, also by Charles and Micheal) next term. I’ve heard many good reviews about it—can’t wait!

If you found this useful, please cite this write-up as:

Yan, Ziyou. (Dec 2017). OMSCS CS7641 (Machine Learning) Review and Tips. eugeneyan.com. https://eugeneyan.com/writing/omscs-cs7641-machine-learning/.

or

@article{yan2017machine,  title   = {OMSCS CS7641 (Machine Learning) Review and Tips},  author  = {Yan, Ziyou},  journal = {eugeneyan.com},  year    = {2017},  month   = {Dec},  url     = {https://eugeneyan.com/writing/omscs-cs7641-machine-learning/}}
Share on:

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

CS7641 机器学习 OMSCS 阿里巴巴 强化学习 随机优化
相关文章