π Week 03 Lab - Preparation
2024/25 Winter Term
Before coming to the π» Week 03 lab, please complete the following preparation tasks:
- Open the VSCode terminal or your Mac terminal/Windows command and install the new packages we will use in this lab by running one of the following commands:
conda install scikit-learn statsmodels
conda update scikit-learn statsmodels
or
pip install -U scikit-learn statsmodels
Review the π» Week 02 lab and the β solutions and ensure you understand the code we wrote. Post a message on the
#help
channel on Slack if you have any questions about the Week 02 lab.Click the link below to download the
.ipynb
file we will use in this lab. Save it in theDS202W
folder you created last week.
Open this file on VSCode, look at the Loading libraries and functions section in the file and make sure that you have all the libraries to be loaded in that section installed.
Download the dataset we will use for this lab, which is a dataset adapted from Wave 7 of the World Values Survey (Haerpfer et al. 2022). Use the link below to download this dataset:
Put this file in the data
folder within your DS202W
folder.
- Look at what you will be doing in the π» Week 03 lab, so you are not caught off guard!