Summary of course
Morten Hjorth-Jensen Email morten.hjorth-jensen@fys.uio.no [1, 2]
[1] Department of Physics and Center of Mathematics for Applications, University of Oslo
[2] National Superconducting Cyclotron Laboratory, Michigan State University
Nov 27, 2019
© 1999-2019, Morten Hjorth-Jensen Email morten.hjorth-jensen@fys.uio.no. Released under CC Attribution-NonCommercial 4.0 license
What? Me worry? No final exam in this course!


Topics we have covered this year
The course has two central parts
- Statistical analysis and optimization of data
- Machine learning
Statistical analysis and optimization of data
The following topics will be covered
- Basic concepts, expectation values, variance, covariance, correlation functions and errors;
- Simpler models, binomial distribution, the Poisson distribution, simple and multivariate normal distributions;
- Central elements of Bayesian statistics and modeling;
- Central elements from linear algebra
- Gradient methods for data optimization
- Estimation of errors using cross-validation, blocking, bootstrapping and jackknife methods;
- Practical optimization using Singular-value decomposition and least squares for parameterizing data.
- Principal Component Analysis.
Machine learning
The following topics will be covered
- Linear methods for regression and classification;
- Neural networks;
- Decisions trees, random forests, boosting and bagging
- Support vector machines
Learning outcomes and overarching aims of this course
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, you 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.
- Understand linear methods for regression and classification;
- Learn about neural network;
- Learn about baggin, boosting and trees
- Support vector machines
- Learn about basic data analysis;
- 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;
- Work on numerical projects to illustrate the theory. The projects play a central role and you are expected to know modern programming languages like Python or C++.
Perspective on Machine Learning
- Rapidly emerging application area
- Experiment AND theory are evolving in many many fields. Still many low-hanging fruits.
- Requires education/retraining for more widespread adoption
- A lot of “word-of-mouth” development methods
Huge amounts of data sets require automation, classical analysis tools often inadequate.
High energy physics hit this wall in the 90’s.
In 2009 single top quark production was determined via Boosted decision trees, Bayesian
Neural Networks, etc.
Starting your Machine Learning Project
- Identify problem type: classification, generation, regression
- Consider your data carefully
- Choose a simple model that fits 1. and 2.
- Consider your data carefully again… data representation
- Based on results, feedback loop to earliest possible point
Choose a Model and Algorithm
- Supervised?
- Start with the simplest model that fits your problem
- Start with minimal processing of data
Preparing Your Data
- Shuffle your data
- Mean center your data
- Normalize the variance
- Whitening
- Decorrelates data
- Can be hit or miss
- When to do train/test split?
Which Activation and Weights to Choose in Neural Networks
- RELU? ELU?
- Sigmoid or Tanh?
- Set all weights to 0?
- Set all weights to random values?
Optimization Methods and Hyperparameters
- Stochastic gradient descent
- Stochastic gradient descent + momentum
State-of-the-art approaches:
Which regularization and hyperparameters? \( L_1 \) or \( L_2 \), soft classifiers, depths of trees and many other. Need to explore a large set of hyperparameters and regularization methods.
Resampling
When do we resample?
- Bootstrap
- Cross-validation
- Jackknife and many other
Best wishes to you all and thanks so much for your heroic efforts this semester
