Today
-
Course introduction, logistics.
-
Computer languages.
-
Introduction to Julia programming.
Course material
All lecture notes are Jupyter Notebooks. It is a good idea to learn by running through the code examples. You can do this in several ways.
Run in Binder
Easiest way to run the Jupyter Notebooks is Binder, a free service that allows us to run Jupyter Notebooks in cloud. Simply follow the Binder link at https://ucla-biostat-257-2021spring.github.io/schedule/schedule.html.
If you want the JupyterLab interface, replace the tree
by lab
in the URL.
Run locally on your own computer
- Download and install Julia v1.6.0 from https://julialang.org/downloads/. On Mac, use Bash command
sudo ln -s /Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia
to create a symbolic link so
julia
command is available anywhere in the terminal. - Git clone the course material.
git clone https://github.com/ucla-biostat-257-2021spring/ucla-biostat-257-2021spring.github.io.git
-
Enter the folder
ucla-biostat-257-2021spring.github.io.git
on Terminal. - Open Julia within that folder, type
]
to enter the package mode, then typeactivate . resolve
to install necessary packages.
- In Julia REPL, type
using IJulia jupyterlab(dir = pwd())
to open the JupyterLab in browser or
using IJulia notebook(dir = pwd())
to open a Jupyter notebook.
- Course material is updated frequently. Remember to
git pull
to obtain the most recent material.