Dipping your Toes – Machine Learning for Geoscientists

My fellow students know this and I hope recruiters will never read this: I was never good at math in university. It was only later when it came to the application in actual geophysical problems that tensors, linear algebra, and differential equations clicked. Personally, I don’t recommend this, as it makes life unnecessarily hard.

Machine Learning is a tool that will become more prevalent in our everyday work within the next decade. We can use it as a tool like I did in the SEG ML challenge. There I started using scikit-learn a Python library for machine learning. This library makes machine learning so easy you can build your first model in three lines of code:

First, you define your classifier. Second, you feed it some labeled data. Third, you predict on unseen data.

Learning Scikit-Learn

The code above will give you “some” result. Good models need some fine tuning. Luckily the Python community is all about using the code. Therefore, at the scientific Python conference SciPy a one-day tutorial was held. You can follow the tutorial as if you were there. The morning session is available here:

The afternoon session is available here:

and all the material to the workshop can be followed along and tweaked on GitHub.

Getting the math right

I love Scikit-Learn and it got me into machine learning with an extremely low barrier. However, deep learning is mostly about neural networks. These are a little more involved and doing research with them may require some math. Wait! Don’t go yet. If you never got Linear Algebra in school or uni, definitely keep reading. If you did, just wait for the next post that will delve deeper into deep learning for geoscientists.

On my journey through all the fascinating free courses, I will show you later, I was pointed toward 3Blue1Brown

He makes amazing math videos that make you understand math on an intuitive level. Their “Essence of Linear Algebra” playlist made me truly understand matrix multiplication for the first time, although I have been using it for almost 10 years.

This will get you set up for future math that will make all the fun in machine learning and deep learning in geoscience accessible to you.

Definitely, subscribe to stay updated with the next posts on all the resources I found on my journey into ML.

The following two tabs change content below.
... is a geophysicist by heart. He works at the intersection of machine learning and geoscience. He is the founder of The Way of the Geophysicist and a deep learning enthusiast. Writing mostly about computational geoscience and interesting bits and pieces relevant to post-grad life.

Latest posts by Jesper Dramsch (see all)

Posted in Computer Science, Earth Science, Software and Programming, Videos and tagged , , , , , .


  1. Awesome post! Thanks for sharing the link of the Youtube lectures. And about 3Blue1Brown: I have been following for quite a while and it is an incredible channel o/

Comments are closed.