Teaching

Teaching this semester

I’m on the hook for teaching this semester (can’t complain really with such fun classes!). I’m down for “Astrostatistics and Machine Learning” for our MSc degree in Astrophysics and “Machine Learning for Physics and Astronomy” for our BSc degree in Artificial Intelligence. Here is my material for both, and thanks to all the students who will be engaging with this!



Teaching for the new AI degree

On top of “astrostats” for the MSc degree in Astrophysics, this semester I’m excited to start teaching for the new BSc degree in Artificial Intelligence. This course is delivered jointly by the University of Milano-Bicocca (my place), the University of Milano-Statale (“the other” uni in town), and the University of Pavia (south of here…). My class is actually a lab, the full (too long) title is “Laboratory of Machine Learning Applied to Physical Systems.” The class material is available here:

github.com/dgerosa/machinelearning4physics_bicocca_2024

Can’t wait to see what these AI students can do! Hope to learn from you as much as you learn from me.



Starting a new class! “Scientific computing” for PhD students

I’m teaching the first lecture of a new class today. This is “Scientific computing with Python,” a 16h module for PhD students. To the (many) PhD students who signed up: thanks for your interest, hope you’ll like this. BTW the title says Python but there will also be some Mathematica and some git, just for fun. My material is online at

github.com/dgerosa/scientificcomputing_bicocca_2023

Have a look if you want and please do give feedback if you do 🙂


Astrostats is back

I’m about to start teaching this year’s edition of “Astrostatistics and Machine Learning” for the MSc degree in Astrophysics here at Milano-Bicocca. The material is available at

github.com/dgerosa/astrostatistics_bicocca_2023

Feel free to have a look if you fancy some stats… and please do send me feedback if you work through the material.


New class! Astrostatistics

I just had the first lectures of a class I’m teaching for the first time: Astrostatistics and Machine Learning (sounds exciting? Well, it is!). This is an advanced course for the MSc degree in Astrophysics and Space Science at the University of Milano-Bicocca. My students and I will travel across data inference, Bayesian wonders, sampling, regression, classification, and become best friends with deep learning. All of this is applied to astrophysical datasets.

The entire class is available under the form of jupyter notebooks at github.com/dgerosa/astrostatistics_bicocca_2022. The repository is hooked up with the mybinder service.