|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/build-a-nba-fantasy-projection-model-in-python-with-pandas/
课程评论:没有评论
本课程旨在利用Python的Pandas库,为NBA球迷和有志于学习编程者打造一个NBA奇幻联盟(Fantasy NBA)的球员数据预测模型。 课程核心理念是项目驱动式学习,通过一个学员真正感兴趣且充满热情的项目(构建NBA预测模型)来学习编程。作者认为,直接动手解决实际问题比单纯阅读教材或观看教程更能有效地掌握新技能。 **项目目标:** 构建一个NBA球员数据预测模型,帮助学员在Fantasy NBA的选秀中做出更明智的决策,从而赢得联赛。这源于作者发现市面上现有的预测模型不够理想,因此萌生了自己构建一个预测模型的想法。 **学习内容:** 1. **Python编程应用:** 课程将Python作为主要编程语言,尤其侧重于其在实际项目中的应用,而非Python的入门介绍。假定学员已具备一定的Python基础。 2. **Pandas数据处理:** Pandas库将被深度应用,用于数据的筛选、处理和转换。Pandas被描述为集SQL和Excel功能于一身的强大工具,能高效处理带有标签的多维数据,包括异构类型和缺失数据。 3. **利用NBA数据:** 课程将大量使用NBA的统计数据作为学习材料,展示体育数据如何成为数据分析的绝佳入口,以及它所教授的思维方式如何广泛适用于其他领域。 4. **Jupyter Notebook:** 所有操作将在Jupyter Notebook环境中进行,方便学员分享和改进他们的工作。 **最终成果:** 学完本课程后,学员将能够使用Python和Pandas独立构建一个NBA Fantasy的球员数据预测模型,并利用此模型在Fantasy NBA联赛中取得优势。
What is this Course?Let me start off by saying that my first love has always been the NBA and my second love is coding. As such, I think this class will be a lot of fun for passionate NBA fans who also happen to be aspiring coders. This is the premier Udemy class out there that uses strictly NBA stats as data to help wrap your head around concepts in the python programming language.While I have found it helpful to read textbooks and watch online tutorials to get a better understanding of the basics for any subject, nothing beats project-based learning. Actually getting your hands dirty and running into real problems that require specific solutions has been my ideal way to learn something new.With that being said, the hardest question typically is, what project should I focus on? From my personal experience, I've found it beneficial to focus on something you are passionate about. To find that something, just think of what you frequently pay attention to in your spare time, when no one is paying you...to pay attention to it. For me, that something is the NBA. I'm a proud subscriber to League Pass. It didn't take long for me to realize that using NBA stats was going to be the best way for me to learn how to code."For one, sports has served as an entry point to data analysis for many. Sports is interesting and has great data relative to other fields, so it can teach skills and methods of thought that are then more broadly applicable. Personally, I learned how to program, a skill that has been enormously valuable to me, specifically to analyze basketball stats. And I'm far from the only story like this." -Ben Falk, Cleaning The GlassThe ProjectUsing the NBA to learn how to code sounds like a good start, but it it still missing a key piece to turn it into an actual project. That key piece is a goal. Tiago Forte defines a project as, "a series of tasks linked to a goal, with a deadline."So what is our goal? Well, for those of you that have played fantasy basketball before, you may have learned how important the draft is. Your team's success is often times linked directly to your success in the draft. And your success in the draft is often linked to how effectively you can project player stats for that upcoming year. If you know Lebron James is going to score more fantasy points than Anthony Davis then you will want Lebron James on your fantasy team.After blindly turning to the internet for many consecutive years to use projection models that weren't made by the oafs at ESPN or Yahoo, it dawned on me that said models had to come from someone's brain. My thinking from there was, "what's stopping me from building my own projection model?"Alas! We have our class project! We are going to build an NBA Fantasy Projection model so you can win your NBA Fantasy League! And how will we do that? By learning to code!What Will You Learn?This is another reminder that everything I've done to date has been a combination of self-teaching and learning from a friend who also happens to be a talented engineer.For our purposes, we are going to focus on Python. I've been hooked on it ever since I took the class Automate the Boring Stuff with Python. It's undoubtedly a popular programming language so I think it will be beneficial for many years to come.This class is not meant to be an introduction to programming or python, so my assumption is that you understand some basics. This class is geared more towards helping you apply Python programming to an actual project to help you better retain information while having fun within the process.Since this class is primarily focused on data (in the form of NBA stats), we will need to manipulate the data in various ways. To help with this, we'll use the Pandas library. Pandas is extremely powerful and can be used in more ways than just building NBA fantasy projection models so I think you will find it extremely helpful to learn more about.In his book, Jake VanderPlas describes Pandas as, "a newer package built on top of NumPy, and provides an efficient implementation of a DataFrame. dataFrames are essentially multidimensional arrays with attached row and column labels, and often with heterogeneous types and/or missing data. As well as offering a convenient storage interface for labeled data, Pandas implements a number of powerful data operations familiar to users of both database frameworks and spreadsheet programs." Said another way, Pandas is SQL and Excel on steroids!By the end of this course you will be ready to win your NBA fantasy league by building the best fantasy projection model using Python and more specifically Pandas. All of this will be done using a Jupyter Notebook so you can share your work and improve on it over the years.