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:

1 2 3 | clf = GradientBoostingClassifier() clf.fit(data_train, data_label) clf.predict(data_test) |

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.

#### Latest posts by JesperDramsch (see all)

- Dipping your Toes – Machine Learning for Geoscientists - 2017-08-03
- Geoscience and Machine Learning – EAGE 2017 Workshop - 2017-06-13
- Lavafalls – Waterfalls are so last year! - 2017-02-13

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/

I’m so glad to see that I’m not the only one that simply loves the visual of this channel.

Way of the Geophysicist 🙂