December 28, 2019

489 words 3 mins read

mlss-skoltech/tutorials

mlss-skoltech/tutorials

repository with the tutorials for MLSS Skoltech

repo name mlss-skoltech/tutorials
repo link https://github.com/mlss-skoltech/tutorials
homepage
language Jupyter Notebook
size (curr.) 63082 kB
stars (curr.) 49
created 2019-08-25
license

MLSS 2019 Skoltech tutorials

This is the official repository for Machine Learning Summer School 2019, which is taking place at Skoltech Institute of Science and Technology, Moscow, from 26.08 - 06.09.

This repository will contain all of the materials needed for MLSS tutorials.

The list of the current tutorials published (will be updated with time):

Running the tutorials on Google Colaboratory:

Most of the tutorials were created using Jupyter Notebooks. In order to reduce the time spent on installing various software, we have made sure that all of the tutorials are Google Colaboratory friendly.

Colaboratory is a free Jupyter notebook environment that requires no setup and runs entirely in the cloud. With Colaboratory you can write and execute code, save and share your analyses, and access powerful computing resources, all for free from your browser. All of the notebooks already contain all the set-ups needed for each particular tutorial, so you will just be required to run the first several cells.

Here are the instructions on how open the notebooks in Colaboratory (tested on Google Chrome, version 76.0.):

  • First go to https://colab.research.google.com/github/mlss-skoltech/
  • In the pop-up window, sign-in into your GitHub account image0
  • In the opened window, choose the notebook correspodning to the tutorial image1
  • The selected notebook will open, now make sure that you are signed-in into your Google account image2
  • Try to run the first cell, you will get the following message: image3 Press RUN ANYWAY
  • For the message Reset all runtimes press YES image4

In order to download all the material for the tutorial, make sure you run the cells containing the following code first (all of these cells are already added to the notebooks with the right paths):

  • For downloading the github subdirectory containing the tutorial:

!pip install --upgrade git+https://github.com/mlss-skoltech/tutorials.git#subdirectory=<name of tutorial subdirectory>

  • For declaring the data files' path:
import pkg_resources
DATA_PATH = pkg_resources.resource_filename('name_of_the_installed_tutorial_package', 'data/')

Using GPU with Google Colaboratory:

Sometimes for computationally hard tasks you will be required to use GPU instead of default CPU, in order to do this follow these steps:

  • Go to Edit->Notebook Settings image5
  • In the Hardware accelerator field choose GPU image6 image7

Saving and downloading the notebooks

You can save your notebook in your Google Drive or simply download it, for that go to File->Save a copy in Drive or File->Download.ipynb. image8

If you would like to see more tutorials regarding Google Colaboratory have a look at this notebook: https://colab.research.google.com/notebooks/welcome.ipynb

Contact

If you have any questions/suggestions regarding this githup repository or have found any bugs, please write to me at N.Mazyavkina@skoltech.ru

comments powered by Disqus