Machine Learning

If you’re interested in learning Machine Learning and AI with Python, Harvard offers a free course on edX. You’ll learn the core techniques of machine learning: decision trees, random forests, bagging, and boosting. You’ll cover specific techniques like gradient boosting and AdaBoost, as well as how to handle missing or imbalanced data. By the end you’ll be prepared to learn about neural networks, or maybe even take a junior position in the data science industry.

https://learning.edx.org/course/course-v1:HarvardX+CS109xa+3T2023

If you want to learn terms relevant to AI, head over to our AI Glossary page first to learn the basics.

If you’re following along with the edX course, download the .pdf book here: https://www.statlearning.com/

Pandas comes packaged with Anaconda. If you don’t have Anaconda, get the free download here: https://www.anaconda.com/download

The course requires Pandas as well. To check the current version of Pandas, type conda list pandas in Terminal.

You’ll also need Numpy. Once Anaconda is installed, to check the current version of Numpy, open Terminal in Mac, and type conda list numpy at the prompt. Here we see Version 1.26.4 installed.

Now install Jupyter https://jupyter.org/install

If you have Python installed, go to Terminal and type pip install jupyter.

You can check what version of Jupyter is installed by opening Terminal and typing jupyter –version

To launch Jupyter in your browser, type jupyter lab in Terminal

For calculators and notation, bookmark WolframAlpha and Google Calculator https://www.google.com/search?q=calculator

https://www.wolframalpha.com

Study the definition of Decision Trees.

https://learning.edx.org/course/course-v1:HarvardX+CS109xa+3T2023/block-v1:HarvardX+CS109xa+3T2023+type@sequential+block@e657deb87d0c42799d34b1be02b4b761/block-v1:HarvardX+CS109xa+3T2023+type@vertical+block@108ebe5e1ff34b068a396dd629c1d87d

Scroll to Top