Tech Setup

Follow these steps to get your computer, or browser, ready for the course. Select a section to expand it.
1. GitHub

Why it matters: GitHub is where coursework lives this term: module assignments, your final project, and, if you build one, your personal portfolio site. It is also a standard professional workflow in data science and policy analysis.

How to set it up:

  1. Create a free account at github.com if you do not already have one.
  2. Sign up for the GitHub Student Developer Pack using your ETH email address. Apply early because student verification may take some time.
  3. Install Git on your machine.
  4. Configure Git with your name and email:
    git config --global user.name "Your Name"
    git config --global user.email "you@example.com"
  5. Join the course organization on GitHub using the link provided in class. Module templates and your project repository will live there.
2. Choose an IDE

Course recommendation: We will use RStudio for live coding, so we recommend it if you are new to programming or want to follow the demonstrations closely. You are welcome to use whichever IDE you prefer, including VS Code.

Choose where you want to work:

Free GitHub accounts include 120 core-hours of Codespaces use per month. Verified students receive additional benefits through the GitHub Student Developer Pack. Stop your codespace when you finish working so it does not continue using your allowance.

3. R / Python

Why it matters: These are the languages used for analysis: cleaning data, mapping it, modeling it, and evaluating policy. R is the primary course language, with strong ecosystems for spatial data and causal inference. Python alternatives are welcome for your own exploration.

How to set it up:

4. Choose an AI assistant

Course recommendation: We will focus on using a local model through Ollama. This gives us a shared way to examine what an AI model can and cannot do while keeping prompts, code, and data on your own computer. Follow the Ollama setup in the next section if your computer can run it.

Compare your options:

Engage critically: AI tools, models, prices, privacy terms, and capabilities change quickly. Do not treat any recommendation as permanent. Check what service and model you are using, what data it receives, and whether its output is supported by evidence. You remain responsible for the analysis and code you submit.

5. Set up Ollama (recommended)

Why it matters: Local Ollama models are the main AI tools we will explore in class. Running a model yourself makes privacy, model choice, hardware constraints, and differences in model quality visible rather than hiding them behind a hosted service.

How to set it up:

  1. Download and install Ollama for macOS, Windows, or Linux.
  2. Open a terminal and confirm that Ollama is installed:
    ollama --version
  3. Download and start a small coding model:
    ollama run qwen2.5-coder:3b
  4. Enter a prompt to test the model. Type /bye when you are ready to exit.
  5. To use the model in VS Code, install the Continue extension and select Ollama as the model provider. Ollama runs at http://localhost:11434 by default.

Local models run best on computers with at least 8 GB of memory; more memory generally allows larger and more capable models. If Ollama is too slow or cannot run on your machine, use GitHub Copilot or Claude and contact the instructors so you can still participate in the local-model exercises.

If you have any trouble with setup, please reach out to the instructors for help.