/ml-crashcourse

Primary LanguageJupyter Notebook

Tutorial of machine learning for emulating a Lorenz model

pdf of the slides: slides

Instruction for working on a cloud (recommended)

Run the tutorial in a cloud computing provider (require Google login):

  • Lorenz 63 tutorial: Open In Colab
  • Lorenz 96 tutorial: Open In Colab

Instructions for working locally

You can also run this notebook on your own (Linux/Windows/Mac) computer. This is a bit snappier than running them online.

  1. Prerequisite: Python>=3.7.
    If you're not a python expert:
    1a. Install Python via Anaconda.
    1b. Use the Anaconda terminal to run the commands below.
    1c. (Optional) Create & activate a new Python environment. If the installation (below) fails, try doing step 1c first.

  2. Install:
    Run these commands in the terminal (excluding the $ sign):
    $ git clone https://github.com/nansencenter/ml-crashcourse.git
    $ pip install -r ml-crashcourse/requirements.txt

  3. Launch the Jupyter notebooks:
    $ jupyter-notebook
    This will open up a page in your web browser that is a file navigator.
    Enter the folder ml-crashcourse, and click on the tutorial L63_demonstrator.ipynb or L96_demonstrator.ipynb