From 17cc05f7d369209bebb6a6e54cf7944f1fe7a6c7 Mon Sep 17 00:00:00 2001 From: mhjensen Date: Wed, 19 Aug 2020 12:08:02 +0200 Subject: [PATCH] update of website --- doc/web/course.dlog | 3 + doc/web/course.do.txt | 155 ++++----------------- doc/web/course.html | 234 ++++++++------------------------ doc/web/tmp_mako__course.do.txt | 168 +++++++---------------- 4 files changed, 134 insertions(+), 426 deletions(-) diff --git a/doc/web/course.dlog b/doc/web/course.dlog index 146378fc7..00264b90d 100644 --- a/doc/web/course.dlog +++ b/doc/web/course.dlog @@ -126,3 +126,6 @@ running preprocess -DFORMAT=html -DDEVICE=screen course.do.txt > tmp_preprocess running mako on tmp_preprocess__course.do.txt to make tmp_mako__course.do.txt translating doconce text in tmp_mako__course.do.txt to html output in course.html +running mako on course.do.txt to make tmp_mako__course.do.txt +translating doconce text in tmp_mako__course.do.txt to html +output in course.html diff --git a/doc/web/course.do.txt b/doc/web/course.do.txt index 519ecdbd1..451bdeecc 100644 --- a/doc/web/course.do.txt +++ b/doc/web/course.do.txt @@ -1,12 +1,5 @@ -# Strange way of testing for vortex... -# #ifdef NON_VORTEX -TITLE: Overview of course material: Computational Physics - -TOC: off -# #else TITLE: Overview of course material: Data Analysis and Machine Learning -AUTHOR: "Morten Hjorth-Jensen":"http://mhjgit.github.io/info/doc/web/" at Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University, USA & Department of Physics (office FV308), University of Oslo, Norway -# #endif +AUTHOR: "Morten Hjorth-Jensen":"http://mhjgit.github.io/info/doc/web/" at Department of Physics and Astronomy and Facility for Rare ion Beams and National Superconducting Cyclotron Laboratory, Michigan State University, USA & Department of Physics (office FV308), University of Oslo, Norway <% pub_url = 'https://compphysics.github.io/MachineLearning/doc/pub' @@ -46,6 +39,7 @@ chapters = { * "Standard one-page format": "${pub_url}/${name}/pdf/${name}-minted.pdf" * HTML: * "Plain html": "${pub_url}/${name}/html/${name}.html" + * "reveal.js beige slide style": "${pub_url}/${name}/html/${name}-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "${pub_url}/${name}/html/${name}-bs.html" * Jupyter notebook: * "ipynb file": "${pub_url}/${name}/ipynb/${name}.ipynb" @@ -83,142 +77,51 @@ ${text_types(ch)} !split -===== Projects and Exercises Fall 2019 ===== +===== Projects and Exercises Fall 2020 ===== -=== First homework set, week 35 (Available August 20) === +=== First homework set, week 35 === * LaTeX and PDF: - * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw1/pdf/hw1.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw1/pdf/hw1.pdf" + * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw1/pdf/hw1.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw1/pdf/hw1.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw1/html/hw1.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw1/html/hw1-bs.html" + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw1/html/hw1.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw1/html/hw1-bs.html" -=== Second homework set, week 36 (Available August 26) === +=== Second homework set, week 36 === * LaTeX and PDF: - * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw2/pdf/hw2.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw2/pdf/hw2.pdf" + * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw2/pdf/hw2.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw2/pdf/hw2.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw2/html/hw2.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw2/html/hw2-bs.html" + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw2/html/hw2.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw2/html/hw2-bs.html" -=== Project 1, Deadline October 7 (available August 26) === +=== Project 1, Deadline September 28 (available August 26) === * LaTeX and PDF: - * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project1/pdf/Project1.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project1/pdf/Project1.pdf" + * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project1/pdf/Project1.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project1/pdf/Project1.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project1/html/Project1.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project1/html/Project1-bs.html" + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project1/html/Project1.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project1/html/Project1-bs.html" -=== Project 2, Deadline November 8 (available October 2) === +=== Project 2, Deadline November 2 (available September 28) === * LaTeX and PDF: - * "Latex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project2/pdf/Project2.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project2/pdf/Project2.pdf" + * "Latex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project2/pdf/Project2.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project2/pdf/Project2.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project2/html/Project2.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project2/html/Project2-bs.html" + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project2/html/Project2.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project2/html/Project2-bs.html" -=== Project 3, Deadline December 15 (available November 4) === +=== Project 3, Deadline December 7 (available November 2) === * LaTeX and PDF: - * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project3/pdf/Project3.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project3/pdf/Project3.pdf" + * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project3/pdf/Project3.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project3/pdf/Project3.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project3/html/Project3.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project3/html/Project3-bs.html" - - - -=== Course content === - -Probability theory and statistical methods play a central role in science. Nowadays we are -surrounded by huge amounts of data. For example, there are about one trillion web pages; more than one -hour of video is uploaded to YouTube every second, amounting to 10 years of content every -day; the genomes of 1000s of people, each of which has a length of $3.8\times 10^9$ base pairs, have -been sequenced by various labs and so on. -This deluge of data calls for automated methods of data analysis, -which is exactly what machine -learning provides. In this course the approach is to define machine learning as a set of methods that can -automatically detect patterns in data, and then use the uncovered patterns to predict future -data, or to perform other kinds of decision making under uncertainty. Since many of these problems can be studied using -tools of probability theory, the aim of this course is to expose you to central methods in probability theory linked with machine learning. - -This course covers thus topics like Monte Carlo methods and Markov chains, Bayesian statistics, error estimates, various linear methods, optimization of data and error analysis and central algorithms in machine learning. -The course has several numerical projects and numerical exercises that are meant to illustrate the theory. - - - -===== Learning outcomes ===== - -The course introduces a variety of central algorithms and methods -essential for studies of data analysis and machine learning. The course is project based and through the various projects, normally three, the students will be exposed to fundamental research problems in these fields, with the aim to reproduce state of the art scientific results. The students will learn to develop and structure large codes for studying these systems, get acquainted with computing facilities and learn to handle large scientific projects. A good scientific and ethical conduct is emphasized throughout the course. More specifically, after this course you will - -* Learn about basic data analysis, Bayesian statistics, Monte Carlo methods, data optimization and machine learning; -* Be capable of extending the acquired knowledge to other systems and cases; -* Have an understanding of central algorithms used in data analysis and machine learning; -* Have a basic knowledge of Bayesian statistics and learning and common distributions; -* Gain knowledge of central aspects of Monte Carlo methods, Markov chains, Gibbs samplers and their possible applications, from numerical integration to simulation of stock markets; -* Understand linear methods for regression and classification; -* Learn about neural network, genetic algorithms and Boltzmann machines; -* Work on numerical projects to illustrate the theory. The projects play a central role and students are expected to know modern programming languages like Python or C++. - - - -===== Prerequisites ===== - -Basic knowledge in programming and numerics. Required courses are the equivalents to the University of Oslo mathematics courses MAT1100, MAT1110, MAT1120 and at least one of the corresponding computing and programming courses INF1000/INF1110 or MAT-INF1100/MAT-INF1100L/BIOS1100/KJM-INF1xxx. - -===== The course has two central parts ===== - -o Statistical analysis and optimization of data -o Machine learning - -=== Statistical analysis and optimization of data === - -The following topics will be covered -* Basic concepts, expectation values, variance, covariance, correlation functions and errors; -* Review of linear algebra methods; -* Splines and conjugate gradient methods for data optimization; -* Simpler models, binomial distribution, the Poisson distribution, simple and multivariate normal distributions; -* Central elements of Bayesian statistics and modeling; -* Monte Carlo methods, Markov chains, Metropolis-Hastings algorithm, ergodicity; -* Linear methods for regression and classification; -* Estimation of errors using blocking, bootstrapping and jackknife methods; -* Practical optimization using Singular-value decomposition and least squares for parameterizing data. - -=== Machine learning === - -The following topics will be covered -* Gaussian and Dirichlet processes; -* Decision trees and nearest neighbors; -* Support vector machines; -* Boltzmann machines; -* Neural networks; -* Genetic algorithms. - -All the above topics will be supported by examples, hands-on exercises and project work. - -===== Recommended textbooks ===== - -* "Trevor Hastie, Robert Tibshirani, Jerome H. Friedman, The Elements of Statistical Learning, Springer":"https://www.springer.com/gp/book/9780387848570" - -* "Aurelien Geron, Hands‑On Machine Learning with Scikit‑Learn and TensorFlow, O'Reilly":"http://shop.oreilly.com/product/0636920052289.do" - - -===== "Other textbooks":"https://github.com/CompPhysics/MachineLearning/tree/master/doc/Textbooks" ===== - - -_General learning book on statistical analysis_: -* Christian Robert and George Casella, Monte Carlo Statistical Methods, Springer -* Peter Hoff, A first course in Bayesian statistical models, Springer - -_General Machine Learning Books_: -* Kevin Murphy, Machine Learning: A Probabilistic Perspective, MIT Press -* Christopher M. Bishop, Pattern Recognition and Machine Learning, Springer -* David J.C. MacKay, Information Theory, Inference, and Learning Algorithms, Cambridge University Press -* Trevor Hastie, Robert Tibshirani, and Jerome Friedman, The Elements of Statistical Learning, Springer -* David Barber, Bayesian Reasoning and Machine Learning, Cambridge University Press + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project3/html/Project3.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project3/html/Project3-bs.html" + diff --git a/doc/web/course.html b/doc/web/course.html index 1c0b39a45..f8ea69953 100644 --- a/doc/web/course.html +++ b/doc/web/course.html @@ -114,66 +114,28 @@ div { text-align: justify; text-justify: inter-word; } None, '___sec18'), ('Summary', 2, None, '___sec19'), - ('Projects and Exercises Fall 2019', 2, None, '___sec20'), - ('First homework set, week 35 (Available August 20)', - 3, - None, - '___sec21'), - ('Second homework set, week 36 (Available August 26)', - 3, - None, - '___sec22'), - ('Project 1, Deadline October 7 (available August 26)', + ('Projects and Exercises Fall 2020', 2, None, '___sec20'), + ('First homework set, week 35', 3, None, '___sec21'), + ('Second homework set, week 36', 3, None, '___sec22'), + ('Project 1, Deadline September 28 (available August 26)', 3, None, '___sec23'), - ('Project 2, Deadline November 8 (available October 2)', + ('Project 2, Deadline November 2 (available September 28)', 3, None, '___sec24'), - ('Project 3, Deadline December 15 (available November 4)', + ('Project 3, Deadline December 7 (available November 2)', 3, None, - '___sec25'), - ('Course content', 3, None, '___sec26'), - ('Learning outcomes', 2, None, '___sec27'), - ('Prerequisites', 2, None, '___sec28'), - ('The course has two central parts', 2, None, '___sec29'), - ('Statistical analysis and optimization of data', - 3, - None, - '___sec30'), - ('Machine learning', 3, None, '___sec31'), - ('Recommended textbooks', 2, None, '___sec32'), - ('"Other ' - 'textbooks":"https://github.com/CompPhysics/MachineLearning/tree/master/doc/Textbooks"', - 2, - None, - '___sec33')]} + '___sec25')]} end of tocinfo --> - - - - - - - -

Overview of course material: Data Analysis and Machine Learning

@@ -188,7 +150,7 @@ MathJax.Hub.Config({

-

[1] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University, USA
+
[1] Department of Physics and Astronomy and Facility for Rare ion Beams and National Superconducting Cyclotron Laboratory, Michigan State University, USA
[2] Department of Physics (office FV308), University of Oslo, Norway

@@ -230,6 +192,7 @@ formulas in HTML or ipython notebook files. @@ -259,6 +222,7 @@ formulas in HTML or ipython notebook files. @@ -288,6 +252,7 @@ formulas in HTML or ipython notebook files. @@ -317,6 +282,7 @@ formulas in HTML or ipython notebook files. @@ -346,6 +312,7 @@ formulas in HTML or ipython notebook files. @@ -375,6 +342,7 @@ formulas in HTML or ipython notebook files. @@ -404,6 +372,7 @@ formulas in HTML or ipython notebook files. @@ -433,6 +402,7 @@ formulas in HTML or ipython notebook files. @@ -462,6 +432,7 @@ formulas in HTML or ipython notebook files. @@ -491,6 +462,7 @@ formulas in HTML or ipython notebook files. @@ -520,6 +492,7 @@ formulas in HTML or ipython notebook files. @@ -549,6 +522,7 @@ formulas in HTML or ipython notebook files. @@ -578,6 +552,7 @@ formulas in HTML or ipython notebook files. @@ -607,6 +582,7 @@ formulas in HTML or ipython notebook files. @@ -636,6 +612,7 @@ formulas in HTML or ipython notebook files. @@ -665,6 +642,7 @@ formulas in HTML or ipython notebook files. @@ -694,6 +672,7 @@ formulas in HTML or ipython notebook files. @@ -723,6 +702,7 @@ formulas in HTML or ipython notebook files. @@ -752,6 +732,7 @@ formulas in HTML or ipython notebook files. @@ -781,6 +762,7 @@ formulas in HTML or ipython notebook files. @@ -794,211 +776,103 @@ formulas in HTML or ipython notebook files. -

Projects and Exercises Fall 2019

+

Projects and Exercises Fall 2020

-

First homework set, week 35 (Available August 20)

+

First homework set, week 35

-

Second homework set, week 36 (Available August 26)

+

Second homework set, week 36

-

Project 1, Deadline October 7 (available August 26)

+

Project 1, Deadline September 28 (available August 26)

-

Project 2, Deadline November 8 (available October 2)

+

Project 2, Deadline November 2 (available September 28)

-

Project 3, Deadline December 15 (available November 4)

+

Project 3, Deadline December 7 (available November 2)

-

Course content

- -

-Probability theory and statistical methods play a central role in science. Nowadays we are -surrounded by huge amounts of data. For example, there are about one trillion web pages; more than one -hour of video is uploaded to YouTube every second, amounting to 10 years of content every -day; the genomes of 1000s of people, each of which has a length of \( 3.8\times 10^9 \) base pairs, have -been sequenced by various labs and so on. -This deluge of data calls for automated methods of data analysis, -which is exactly what machine -learning provides. In this course the approach is to define machine learning as a set of methods that can -automatically detect patterns in data, and then use the uncovered patterns to predict future -data, or to perform other kinds of decision making under uncertainty. Since many of these problems can be studied using -tools of probability theory, the aim of this course is to expose you to central methods in probability theory linked with machine learning. - -

-This course covers thus topics like Monte Carlo methods and Markov chains, Bayesian statistics, error estimates, various linear methods, optimization of data and error analysis and central algorithms in machine learning. -The course has several numerical projects and numerical exercises that are meant to illustrate the theory. - -

Learning outcomes

- -

-The course introduces a variety of central algorithms and methods -essential for studies of data analysis and machine learning. The course is project based and through the various projects, normally three, the students will be exposed to fundamental research problems in these fields, with the aim to reproduce state of the art scientific results. The students will learn to develop and structure large codes for studying these systems, get acquainted with computing facilities and learn to handle large scientific projects. A good scientific and ethical conduct is emphasized throughout the course. More specifically, after this course you will - -

- -

Prerequisites

- -

-Basic knowledge in programming and numerics. Required courses are the equivalents to the University of Oslo mathematics courses MAT1100, MAT1110, MAT1120 and at least one of the corresponding computing and programming courses INF1000/INF1110 or MAT-INF1100/MAT-INF1100L/BIOS1100/KJM-INF1xxx. - -

The course has two central parts

- -
    -
  1. Statistical analysis and optimization of data
  2. -
  3. Machine learning
  4. -
- -

Statistical analysis and optimization of data

- -

-The following topics will be covered - -

- -

Machine learning

- -

-The following topics will be covered - -

- -All the above topics will be supported by examples, hands-on exercises and project work. - -

Recommended textbooks

- - - -

Other textbooks

- -

-General learning book on statistical analysis: - -

- -General Machine Learning Books: - - - diff --git a/doc/web/tmp_mako__course.do.txt b/doc/web/tmp_mako__course.do.txt index 9b66f098b..1471749b6 100644 --- a/doc/web/tmp_mako__course.do.txt +++ b/doc/web/tmp_mako__course.do.txt @@ -1,6 +1,5 @@ -# Strange way of testing for vortex... TITLE: Overview of course material: Data Analysis and Machine Learning -AUTHOR: "Morten Hjorth-Jensen":"http://mhjgit.github.io/info/doc/web/" at Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University, USA & Department of Physics (office FV308), University of Oslo, Norway +AUTHOR: "Morten Hjorth-Jensen":"http://mhjgit.github.io/info/doc/web/" at Department of Physics and Astronomy and Facility for Rare ion Beams and National Superconducting Cyclotron Laboratory, Michigan State University, USA & Department of Physics (office FV308), University of Oslo, Norway @@ -39,6 +38,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Intro2Course/pdf/Intro2Course-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Intro2Course/html/Intro2Course.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Intro2Course/html/Intro2Course-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Intro2Course/html/Intro2Course-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Intro2Course/ipynb/Intro2Course.ipynb" @@ -53,6 +53,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Introduction/pdf/Introduction-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Introduction/html/Introduction.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Introduction/html/Introduction-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Introduction/html/Introduction-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Introduction/ipynb/Introduction.ipynb" @@ -67,6 +68,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/How2ReadData/pdf/How2ReadData-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/How2ReadData/html/How2ReadData.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/How2ReadData/html/How2ReadData-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/How2ReadData/html/How2ReadData-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/How2ReadData/ipynb/How2ReadData.ipynb" @@ -81,6 +83,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Linalg/pdf/Linalg-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Linalg/html/Linalg.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Linalg/html/Linalg-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Linalg/html/Linalg-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Linalg/ipynb/Linalg.ipynb" @@ -95,6 +98,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Statistics/pdf/Statistics-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Statistics/html/Statistics.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Statistics/html/Statistics-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Statistics/html/Statistics-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Statistics/ipynb/Statistics.ipynb" @@ -109,6 +113,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Regression/pdf/Regression-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Regression/html/Regression.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Regression/html/Regression-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Regression/html/Regression-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Regression/ipynb/Regression.ipynb" @@ -123,6 +128,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Splines/pdf/Splines-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Splines/html/Splines.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Splines/html/Splines-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Splines/html/Splines-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Splines/ipynb/Splines.ipynb" @@ -137,6 +143,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/LogReg/pdf/LogReg-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/LogReg/html/LogReg.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/LogReg/html/LogReg-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/LogReg/html/LogReg-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/LogReg/ipynb/LogReg.ipynb" @@ -151,6 +158,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/NeuralNet/pdf/NeuralNet-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/NeuralNet/html/NeuralNet.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/NeuralNet/html/NeuralNet-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/NeuralNet/html/NeuralNet-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/NeuralNet/ipynb/NeuralNet.ipynb" @@ -165,6 +173,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/cnn/pdf/cnn-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/cnn/html/cnn.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/cnn/html/cnn-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/cnn/html/cnn-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/cnn/ipynb/cnn.ipynb" @@ -179,6 +188,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/DimRed/pdf/DimRed-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/DimRed/html/DimRed.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/DimRed/html/DimRed-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/DimRed/html/DimRed-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/DimRed/ipynb/DimRed.ipynb" @@ -193,6 +203,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/DecisionTrees/pdf/DecisionTrees-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/DecisionTrees/html/DecisionTrees.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/DecisionTrees/html/DecisionTrees-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/DecisionTrees/html/DecisionTrees-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/DecisionTrees/ipynb/DecisionTrees.ipynb" @@ -207,6 +218,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/svm/pdf/svm-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/svm/html/svm.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/svm/html/svm-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/svm/html/svm-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/svm/ipynb/svm.ipynb" @@ -221,6 +233,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/BM/pdf/BM-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/BM/html/BM.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/BM/html/BM-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/BM/html/BM-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/BM/ipynb/BM.ipynb" @@ -235,6 +248,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Recurrent/pdf/Recurrent-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Recurrent/html/Recurrent.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Recurrent/html/Recurrent-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Recurrent/html/Recurrent-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Recurrent/ipynb/Recurrent.ipynb" @@ -249,6 +263,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Autoencoders/pdf/Autoencoders-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Autoencoders/html/Autoencoders.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Autoencoders/html/Autoencoders-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Autoencoders/html/Autoencoders-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Autoencoders/ipynb/Autoencoders.ipynb" @@ -263,6 +278,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Reinforce/pdf/Reinforce-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Reinforce/html/Reinforce.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Reinforce/html/Reinforce-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Reinforce/html/Reinforce-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Reinforce/ipynb/Reinforce.ipynb" @@ -277,6 +293,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/odenn/pdf/odenn-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/odenn/html/odenn.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/odenn/html/odenn-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/odenn/html/odenn-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/odenn/ipynb/odenn.ipynb" @@ -291,6 +308,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/Bayesian/pdf/Bayesian-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/Bayesian/html/Bayesian.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/Bayesian/html/Bayesian-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/Bayesian/html/Bayesian-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/Bayesian/ipynb/Bayesian.ipynb" @@ -305,6 +323,7 @@ formulas in HTML or ipython notebook files. * "Standard one-page format": "https://compphysics.github.io/MachineLearning/doc/pub/summary/pdf/summary-minted.pdf" * HTML: * "Plain html": "https://compphysics.github.io/MachineLearning/doc/pub/summary/html/summary.html" + * "reveal.js beige slide style": "https://compphysics.github.io/MachineLearning/doc/pub/summary/html/summary-reveal.html" * "Bootstrap slide style, easy for reading on mobile devices": "https://compphysics.github.io/MachineLearning/doc/pub/summary/html/summary-bs.html" * Jupyter notebook: * "ipynb file": "https://compphysics.github.io/MachineLearning/doc/pub/summary/ipynb/summary.ipynb" @@ -315,142 +334,51 @@ formulas in HTML or ipython notebook files. !split -===== Projects and Exercises Fall 2019 ===== +===== Projects and Exercises Fall 2020 ===== -=== First homework set, week 35 (Available August 20) === +=== First homework set, week 35 === * LaTeX and PDF: - * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw1/pdf/hw1.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw1/pdf/hw1.pdf" + * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw1/pdf/hw1.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw1/pdf/hw1.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw1/html/hw1.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw1/html/hw1-bs.html" + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw1/html/hw1.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw1/html/hw1-bs.html" -=== Second homework set, week 36 (Available August 26) === +=== Second homework set, week 36 === * LaTeX and PDF: - * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw2/pdf/hw2.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw2/pdf/hw2.pdf" + * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw2/pdf/hw2.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw2/pdf/hw2.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw2/html/hw2.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/hw2/html/hw2-bs.html" + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw2/html/hw2.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/hw2/html/hw2-bs.html" -=== Project 1, Deadline October 7 (available August 26) === +=== Project 1, Deadline September 28 (available August 26) === * LaTeX and PDF: - * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project1/pdf/Project1.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project1/pdf/Project1.pdf" + * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project1/pdf/Project1.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project1/pdf/Project1.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project1/html/Project1.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project1/html/Project1-bs.html" + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project1/html/Project1.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project1/html/Project1-bs.html" -=== Project 2, Deadline November 8 (available October 2) === +=== Project 2, Deadline November 2 (available September 28) === * LaTeX and PDF: - * "Latex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project2/pdf/Project2.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project2/pdf/Project2.pdf" + * "Latex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project2/pdf/Project2.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project2/pdf/Project2.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project2/html/Project2.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project2/html/Project2-bs.html" + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project2/html/Project2.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project2/html/Project2-bs.html" -=== Project 3, Deadline December 15 (available November 4) === +=== Project 3, Deadline December 7 (available November 2) === * LaTeX and PDF: - * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project3/pdf/Project3.tex" - * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project3/pdf/Project3.pdf" + * "LaTex file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project3/pdf/Project3.tex" + * "PDF file":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project3/pdf/Project3.pdf" * HTML: - * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project3/html/Project3.html" - * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2019/Project3/html/Project3-bs.html" - - - -=== Course content === - -Probability theory and statistical methods play a central role in science. Nowadays we are -surrounded by huge amounts of data. For example, there are about one trillion web pages; more than one -hour of video is uploaded to YouTube every second, amounting to 10 years of content every -day; the genomes of 1000s of people, each of which has a length of $3.8\times 10^9$ base pairs, have -been sequenced by various labs and so on. -This deluge of data calls for automated methods of data analysis, -which is exactly what machine -learning provides. In this course the approach is to define machine learning as a set of methods that can -automatically detect patterns in data, and then use the uncovered patterns to predict future -data, or to perform other kinds of decision making under uncertainty. Since many of these problems can be studied using -tools of probability theory, the aim of this course is to expose you to central methods in probability theory linked with machine learning. - -This course covers thus topics like Monte Carlo methods and Markov chains, Bayesian statistics, error estimates, various linear methods, optimization of data and error analysis and central algorithms in machine learning. -The course has several numerical projects and numerical exercises that are meant to illustrate the theory. - - - -===== Learning outcomes ===== - -The course introduces a variety of central algorithms and methods -essential for studies of data analysis and machine learning. The course is project based and through the various projects, normally three, the students will be exposed to fundamental research problems in these fields, with the aim to reproduce state of the art scientific results. The students will learn to develop and structure large codes for studying these systems, get acquainted with computing facilities and learn to handle large scientific projects. A good scientific and ethical conduct is emphasized throughout the course. More specifically, after this course you will - -* Learn about basic data analysis, Bayesian statistics, Monte Carlo methods, data optimization and machine learning; -* Be capable of extending the acquired knowledge to other systems and cases; -* Have an understanding of central algorithms used in data analysis and machine learning; -* Have a basic knowledge of Bayesian statistics and learning and common distributions; -* Gain knowledge of central aspects of Monte Carlo methods, Markov chains, Gibbs samplers and their possible applications, from numerical integration to simulation of stock markets; -* Understand linear methods for regression and classification; -* Learn about neural network, genetic algorithms and Boltzmann machines; -* Work on numerical projects to illustrate the theory. The projects play a central role and students are expected to know modern programming languages like Python or C++. - - - -===== Prerequisites ===== - -Basic knowledge in programming and numerics. Required courses are the equivalents to the University of Oslo mathematics courses MAT1100, MAT1110, MAT1120 and at least one of the corresponding computing and programming courses INF1000/INF1110 or MAT-INF1100/MAT-INF1100L/BIOS1100/KJM-INF1xxx. - -===== The course has two central parts ===== - -o Statistical analysis and optimization of data -o Machine learning - -=== Statistical analysis and optimization of data === - -The following topics will be covered -* Basic concepts, expectation values, variance, covariance, correlation functions and errors; -* Review of linear algebra methods; -* Splines and conjugate gradient methods for data optimization; -* Simpler models, binomial distribution, the Poisson distribution, simple and multivariate normal distributions; -* Central elements of Bayesian statistics and modeling; -* Monte Carlo methods, Markov chains, Metropolis-Hastings algorithm, ergodicity; -* Linear methods for regression and classification; -* Estimation of errors using blocking, bootstrapping and jackknife methods; -* Practical optimization using Singular-value decomposition and least squares for parameterizing data. - -=== Machine learning === - -The following topics will be covered -* Gaussian and Dirichlet processes; -* Decision trees and nearest neighbors; -* Support vector machines; -* Boltzmann machines; -* Neural networks; -* Genetic algorithms. - -All the above topics will be supported by examples, hands-on exercises and project work. - -===== Recommended textbooks ===== - -* "Trevor Hastie, Robert Tibshirani, Jerome H. Friedman, The Elements of Statistical Learning, Springer":"https://www.springer.com/gp/book/9780387848570" - -* "Aurelien Geron, Hands‑On Machine Learning with Scikit‑Learn and TensorFlow, O'Reilly":"http://shop.oreilly.com/product/0636920052289.do" - - -===== "Other textbooks":"https://github.com/CompPhysics/MachineLearning/tree/master/doc/Textbooks" ===== - - -_General learning book on statistical analysis_: -* Christian Robert and George Casella, Monte Carlo Statistical Methods, Springer -* Peter Hoff, A first course in Bayesian statistical models, Springer - -_General Machine Learning Books_: -* Kevin Murphy, Machine Learning: A Probabilistic Perspective, MIT Press -* Christopher M. Bishop, Pattern Recognition and Machine Learning, Springer -* David J.C. MacKay, Information Theory, Inference, and Learning Algorithms, Cambridge University Press -* Trevor Hastie, Robert Tibshirani, and Jerome Friedman, The Elements of Statistical Learning, Springer -* David Barber, Bayesian Reasoning and Machine Learning, Cambridge University Press + * "Plain html":"http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project3/html/Project3.html" + * "Bootstrap slide style, easy for reading on mobile devices": "http://compphysics.github.io/MachineLearning/doc/Projects/2020/Project3/html/Project3-bs.html" +