This course will be taught in Python 3.7+ (anything newer should be fine) with the following libraries.
- Pandas
- Numpy
- Matplotlib
- Seaborn
- Scikit-Learn
- Jupyter (notebook or lab)
The course was originally published in September 2019, and the code is kept up-to-date with any breaking changes (due to library updates). So you should be safe to install the latest libraries. If you find a bug or problem, please raise an issue on the GitHub repo, and we will fix it!
Clone (or download) The Github Repo
Additional Resource
You can find the Github repo here. This repo contains materials and notebooks you will need to complete this course.
Set Up the Course
There are three options for ensuring your machine is set up for the course.
NOTE: This tutorial assumes you are comfortable using the command line (CLI). If you are not, please select Option C and install the full Anaconda distribution. It is also recommend that you review CodingNomads Bash & CLI course.
Option A: Install Python Packages
If you are comfortable installing Python packages, just make sure you have the above-mentioned libraries, and you are all set!
Option B: Create a Conda Environment
In order to use Conda, you have to make sure you install it first! You can download miniconda (the conda package manager) here: Mini conda
To create a new environment, you just need to navigate to wherever you have downloaded the environment.yml provided. Then run
conda env create -f environment.yml
The above command will create a new conda environment called 'cn_ml_course' (it gets the name from the .yml file), which you can then activate with
activate cn_ml_course
Option C: Direct Download
The absolute easiest solution is to install the entire Anaconda distribution. This comes with a ton of software you may never use, but if you have space on your hard drive and fast internet, it's a good choice.
This will come with some extra stuff, but that's no big deal! It also has some useful GUI apps for navigating through Anaconda and launching Jupyter.
Launching Jupyter Lab
Once you have installed all the software, you can now go to your project directory and run
Jupiter lab
(If you prefer a notebook, that is fine!)
This should launch you to a screen that looks (something) like this:
Next Steps
Great! Now that you have installed everything, do a quick test. In the next section, you will run a Jupyter Notebook together, and you can follow along with me, running commands and making sure everything works.
How to Learn All These Packages
In order to keep you engaged, I'm not going to be doing any pure tutorials on any particular package. That tends to be stuff like "practice this, practice that" exercises that are divorced from the reality of actual projects. Instead, I will teach you each package and skill as we use it during our lessons. I will always provide links for more information, and you are free to practice and play on your own so you can become comfortable.
Summary: Course Technology Stack
- Course Github repo here
- Set up your machine by installing Python packages, creating a conda environment, or directly downloading the Anaconda distribution
Required Python Packages
- Pandas
- Numpy
- Matplotlib
- Seaborn
- Scikit-Learn
- Jupyter (notebook or lab)