Skip to content

AHartmaier/ML-Tutorial

Repository files navigation

Machine Learning Tutorial

Numerical examples for regression and classification of data

Machine learning methods are trained with different data sets to work either as regression functions or to find the delimiter lines between classes of data points with different characteristics. Furthermore, it is demonstrated how a surrogate model can be built by supervised learning.

Jupyter notebooks on Binder

The tutorial is conveniently used with Jupyter notebooks that can be directly accessed with Binder:
Binder

https://mybinder.org/v2/gh/AHartmaier/ML-Tutorial.git/HEAD

Installation

To use the tutorial on your own hardware, you need an Anaconda or Miniconda installation with a recent Python version. Then follow those steps:

  1. Download the contents of the GitHub repository, e.g. with
$ git clone https://github.com/AHartmaier/ML-Tutorial.git

or download and unpack the ZIP archive directly from GitHub.

  1. Change the working directory
$ cd ML-Tutorial
  1. Create a conda environment
$ conda env create -f environment.yml
  1. Activate the environment
$ conda activate ml-tutorial
  1. Start JupyterLab (or juypter notebook)
$ jupyter lab
  1. Open the jupyter notebooks (.ipynb) to follow the tutorials.

De-Installation

If you want to remove the tutorial from your hardware, you need to follow those steps:

  1. Deactivate the conda environment
$ conda deactivate
  1. Remove the environment
$ conda env remove -n ml-tutorial
  1. Delete the folder ML-Tutorial
$ cd ..; rm -rf ML-Tutorial

Dependencies

The tutorial uses the following packages, which are automatically installed in the environment when following the instruction above:

License

The software in this tutorial comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under the conditions of the GNU General Public License (GPLv3)

The contents of the notebooks are published under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)

About

A tutorial on machine learning regression and classification.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published