Introduction#

Frirday, 9AM-11AM & 12AM-2PM

Instructor: Facundo Sapienza

Welcome to Stat 159/259!

Remember we will be working in the JupyterHub for the full course, which has the libraries and tools we will be using during the semester. Why do we use the Hub? Well, it is quite convenient since you don’t need to install anything in your personal computer and you don’t need to worry about having installed all the required packages with their right version.

As we have already mentioned, we are going to use Python for all the projects and homeworks in this course. However, it is important to remark that many of the concepts we will see in this course apply to other programming languages too (Julia, R, C, etc).

Keeping your site repository updated#

It is useful to keep a copy of the site repository in your JupyterHub account. In this way, you will be able to follow the labs and lectures as we go though the class.

If you have never cloned this repository in you account, you can clone the repository by doing

git clone https://github.com/UCB-stat-159-s23/site.git

Now, if you already have site in you Hub, then you don’t need to do a new clone. You can instead bring the latest changes in the repository by doing a pull. Remember to be inside the git repository at the moment of doing the pull

git pull

If you have changes in your site repository that you don’t want to track (eg, small changes in lecture notebooks that you don’t want to store), then the git pull won’t work. If you want to ignore your local changes, you can force the pull and delete your local changes by

git reset --hard origin/main

In case you want to keep your local changes to the lecture notebooks, you will have to move them somewhere else before doing the reset.